A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »need help with scripting

Author Topic: need help with scripting (5 messages, Page 1 of 1)
Moderators: Dennis

MissingSpartan7
Joined: Feb 19, 2009

I abandoned this forum a long time ago...


Posted: Mar 23, 2009 01:51 AM    Msg. 1 of 5       
(script continuous death_barrier1
(if (and (volume_test_objects_all kill_trig1 (players)) true) (unit_kill
(players)))
)

this is supposed to kill a player when they pass through a trigger volume but i can't get the killing bit to work
what is wrong with it?


MissingSpartan7
Joined: Feb 19, 2009

I abandoned this forum a long time ago...


Posted: Mar 23, 2009 04:13 AM    Msg. 2 of 5       
the parentheses are fine
its something to do with the kill command
what command should be used to kill a player?


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Mar 23, 2009 05:14 AM    Msg. 3 of 5       
Quote: --- Original message by: MissingSpartan7
the parentheses are fine
its something to do with the kill command
what command should be used to kill a player?

(unit_kill [unit])
I would do what lodex said. Then it should work


MissingSpartan7
Joined: Feb 19, 2009

I abandoned this forum a long time ago...


Posted: Mar 23, 2009 06:08 AM    Msg. 4 of 5       
(script continuous killtrig1
(if (volume_test_object_all killtrig_1 (players)) unit_kill (players))
)

does this work any better?
correct if possible


MissingSpartan7
Joined: Feb 19, 2009

I abandoned this forum a long time ago...


Posted: Mar 23, 2009 06:21 AM    Msg. 5 of 5       
i'll check it when i'm on my laptop

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:12 PM 235 ms.
A Halo Maps Website