
Scarecrow
Joined: Nov 27, 2012
|
Posted: Dec 19, 2012 06:34 PM
Msg. 1 of 2
I'm trying to make a simple kill trigger script but can't remember the command to kill the player. Here's the script I want to put the command into:
(if (= (volume_test_objects kill1 (players)) true) (unit_kill player0))
(unit_kill player0) is not a valid command
|

nihao123456ftw
Joined: Mar 24, 2012
|
Posted: Dec 19, 2012 08:08 PM
Msg. 2 of 2
Quote: (unit_kill <unit>)
kills a given unit, no saving throw That's the right command apparently. Did you define player0 yet using a stub script or whatever it is called?
|