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 Technical / Map Design »Creating a Kill Volume for a Multiplayer Map

Author Topic: Creating a Kill Volume for a Multiplayer Map (2 messages, Page 1 of 1)
Moderators: Dennis

YakZSmelk
Joined: Apr 3, 2006

- Environment Artist - robhow.com


Posted: Sep 14, 2009 12:53 AM    Msg. 1 of 2       
^ Name says it all how do I do it?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 14, 2009 12:56 AM    Msg. 2 of 2       
Create a trigger volume around the area you want people to spontaneously die in. Name it something. We'll come back to that name. Then, create the script:

(global short plyrnum 0)

(script continuous nonrecursivescript
(if
(= plyrnum 15)
(begin
(set plyrnum 0)
)
(begin
(set plyrnum (+ plyrnum 1))
)
)
)

(script continuous kill
(if
(volume_test_object [TVOL] (list_get (players) plyrnum))
(begin
(unit_kill (unit (list_get (players) plyrnum)))
)
)
)


Replace [TVOL] with the name of your trigger volume.

Helpful tip: Don't add the [].

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 11:17 AM 141 ms.
A Halo Maps Website