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 »a script problem about volume

Author Topic: a script problem about volume (5 messages, Page 1 of 1)
Moderators: Dennis

117MC
Joined: Jul 20, 2009

117Ê¿¹Ù³¤


Posted: Aug 24, 2009 08:56 AM    Msg. 1 of 5       
I want to make a campaign , but i don't know how to use "dormant".
i want to make something happen when chief go to a specific area , but i don't know how to do this

could you help me?
Edited by 117MC on Aug 24, 2009 at 08:56 AM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 24, 2009 10:09 AM    Msg. 2 of 5       
(script startup wait
(sleep_until (volume_test_objects [TRIGGER VOLUME] (players)) 15)
([PUT COMMANDS HERE])
)


117MC
Joined: Jul 20, 2009

117Ê¿¹Ù³¤


Posted: Aug 24, 2009 10:24 AM    Msg. 3 of 5       
Quote: --- Original message by: Gamma927
(script startup wait
(sleep_until (volume_test_objects [TRIGGER VOLUME] (players)) 15)
([PUT COMMANDS HERE])
)


like this?

(script startup wait
(sleep_until (volume_test_objects chief (players)) 15)
(pelican_crash))

thank you and what does "15"mean?


Donut
Joined: Sep 30, 2006

I swear I'm not actually dead


Posted: Aug 24, 2009 02:15 PM    Msg. 4 of 5       
Quote: --- Original message by: L0d3x
pelican_crash has got to be a static script you defined yourself.
15 is just the time between which the game checks if a player has entered "chief".

what... are you sure? i have seen that players command before, and i thought it meant it was checking for players between 0 and 15, aka all 16 players of a multiplayer game


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Aug 24, 2009 06:46 PM    Msg. 5 of 5       
Quote: --- Original message by: L0d3x
Sorry my mistake, you are correct.
I've been...distracted lately.


No, you're right.

From HS_doc:

(sleep_until [boolean] {[short]})
pauses execution of this script until the specified condition is true, checking once per second unless a different number of ticks is specified.

That optional [short] specifies the 'different number of ticks'.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 11:30 PM 156 ms.
A Halo Maps Website