Scripted startrush (GoldSrc): Difference between revisions

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


==Keyvalues==
==Keyvalues==
* Targeted monster (target) <target_destination>
 
::Monster
{{KV|Targeted monster (target)|target_destination|Monster}}
* Fire after move. Locus - monster. (netname) <string>
{{KV|Fire after move (netname)|string|Target activated after the monster will arrive at the right place. In this case, the Locus is a monster.}}
::Target activated after the monster will arrive at the right place. In this case, the Locus is a monster.
{{KV|Move to this entity (message)|string|Entity to run to (if left blank it will run to this scripted_startrush)}}
* Move to this entity. Empty - this. (message) <string>
{{KV|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)}}
::Entity to run to (if left blank it will run to this scripted_startrush)
{{KV|Move type (weapons)|choices}}
* Move type (weapons) <choices>
:{| class=standard-table
::0: "Run"
!| Value || Description
::1: "Walk"
|-
* Area radius (frags) <integer>
| 0 || Run
::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)
|-
| 1 || Walk
|}


[[Category:GoldSrc]]
[[Category:GoldSrc]]

Revision as of 05:04, 21 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) ([todo internal name (i)]) <targetname>
Monster
Fire after move (netname) ([todo internal name (i)]) <string>
Target activated after the monster will arrive at the right place. In this case, the Locus is a monster.
Move to this entity (message) ([todo internal name (i)]) <string>
Entity to run to (if left blank it will run to this scripted_startrush)
Area radius (frags) ([todo internal name (i)]) <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)
Move type (weapons) ([todo internal name (i)]) <choices>
Value Description
0 Run
1 Walk