
shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Jun 26, 2009 10:35 AM
Msg. 1 of 5
i am trying to add a trigger death script in my map and sapien gives me an error that says the left parenthesis in script line 22 is unmatched, here is 22:
(if (= (volume_test_object trig1 trig1) true)
where would a parenthesis go in this? Edited by shadowslayer123 on Jun 26, 2009 at 10:36 AM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 26, 2009 10:36 AM
Msg. 2 of 5
Are you sure this is the halo 3 backpack weapons script? It normally doesn't use any trigger volumes.
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Jun 26, 2009 10:37 AM
Msg. 3 of 5
typing mistake fixed it, look above for my real error.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 26, 2009 10:40 AM
Msg. 4 of 5
It's still kinda screwy... Waiting for an object named trig1 to enter the trigger volume trig1? I'm assuming you want the PLAYER to die when entering it. (global short plrynum 0)
(script continuous loopin_reset (if (= plyrnum 15) (begin (set plyrnum 0) ) (begin (set plyrnum (+ plyrnum 1)) ) ) )
(script continuous killz (if (volume_test_object (unit (list_get (players) plyrnum))) (begin (unit_kill (unit (list_get (players) plyrnum))) ) ) )
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Jun 26, 2009 10:43 AM
Msg. 5 of 5
that looks better, and yes i want the player to die, i used an automatic script program
|
|
|