This will stop any movement currently happening on the entity, this will
probably break on spline paths at the moment if you try to stop on a spline
path then resume.
attachtotag <targetname> <tagname>
Connect this entity onto the tag of another entity.
attatchtotrain <targetname> <length>
Makes this entity follow another entity with a specified distance (only works
in combination with followpath).
The entity will face the given angles, taking <duration> to get their. If
the GOTOTIME is given instead of a timed duration, the duration calculated from
the last gotomarker command will be used instead.
Direction specifies whether it will travel from start to end (0), or end to
start (1). Splinename is the targetname of the spline you wish the train to
follow. Speed is how fast the train will travel along the spline. Wait is an
optional command that functions the same as on gotomarker, the script will stop
execution till this movement has occurred. Note: Followpath is required when attatchtotrain is used, otherwise use
followspline.
Currently only allows playing on the VOICE channel, unless you use a sound
script. Use the optional LOOPING paramater to attach the sound to the entities
looping channel.
Operation can be any of:
inc
abort_if_less_than
abort_if_greater_than
abort_if_not_equal
abort_if_not_equals
abort_if_equal
abort_if_equals
bitset
bitreset
abort_if_bitset
abort_if_not_bitset
set
random
trigger_if_equal
wait_while_equal
kill <targetname>
Kill target entity.
remove
Schedule this entity to be freed on the next serverframe.