Scripted startrush (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


[[Category:GoldSrc]]
[[Category:GoldSrc]]
[[Category:Paranoia Entities]]

Revision as of 08:59, 18 August 2023

Template:Entity Which makes the monster run to the desired point.


Application

Point defense and assistance allies in a breakthrough somewhere, to a simple variety enemy behavior - for example, the player not only finds in the next a couple of bored enemies in the corridor, but collides with them face to face while they are also walking somewhere.

Keyvalues

  • Targeted monster (target) <target_destination>
Monster
  • Fire after move. Locus - monster. (netname) <string>
Target activated after the monster will arrive at the right place. In this case, the Locus is a monster.
  • Move to this entity. Empty - this. (message) <string>
Entity to run to (if left blank it will run to this scripted_startrush)
  • Move type (weapons) <choices>
0: "Run"
1: "Walk"
  • Area radius (frags) <integer>
The radius of the area around the target need to run (it is not necessary to run exactly to the point, enough in her neighborhood)