Scripted startrush (GoldSrc)

From Valve Developer Community
Revision as of 02:50, 31 July 2023 by NOUG4AT (talk | contribs)
Jump to navigation Jump to search

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)