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 »Kill Volumes

Author Topic: Kill Volumes (5 messages, Page 1 of 1)
Moderators: Dennis

R93_Sniper
Joined: Feb 13, 2011

When in Doubt, RUN!


Posted: Jul 29, 2016 03:45 AM    Msg. 1 of 5       
So in discussing with a few people about map design, I need to look at a way to create kill volumes. However, I'm told that the way to do it is to add trigger volumes via sapien and then add a script that runs and kills on intersection with these volumes.

The issue however seems to be that I cannot find the script code required for the kill volumes. I'm sure someone here knows what it is, and I request that you share what the commands are (Before you ask, I did do a quick search, but could not find the commands)


Super Flanker
Joined: Oct 5, 2012

The length of your life depends on my aim.


Posted: Jul 29, 2016 05:33 AM    Msg. 2 of 5       


Fubih
Joined: Jul 19, 2011

dead


Posted: Jul 29, 2016 04:06 PM    Msg. 3 of 5       
(global short plr 0)

(script continuous kill_volume
(if (volume_test_object TriggerVolumeName (list_get (players) plr))
(unit_kill (unit (list_get (players) plr)))
)
(if (= plr 15)
(set plr 0)
(set plr (+ plr 1))
)
)


Super Flanker
Joined: Oct 5, 2012

The length of your life depends on my aim.


Posted: Jul 29, 2016 04:25 PM    Msg. 4 of 5       
Sometimes I wish scripting was so much more casual.

In the ideal world of Flanker scripts would look like this:

(If_player_enters_trigger_volume:1a_player_should_be_killed

End)


R93_Sniper
Joined: Feb 13, 2011

When in Doubt, RUN!


Posted: Jul 29, 2016 04:35 PM    Msg. 5 of 5       
python is actually kinda like that.

But my issue is solved, ty

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 2:14 AM 282 ms.
A Halo Maps Website