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 »Need Scripts

Author Topic: Need Scripts (3 messages, Page 1 of 1)
Moderators: Dennis

Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Feb 25, 2010 01:23 PM    Msg. 1 of 3       
Anybody have a script that will broadcast a prerecorded alert when you enter a room, (maybe involving a trigger volume)?

Also need a script that will broadcast a prerecorded alert when an AI actor has entered the seat of a jet, such as "Airstrike in Route", or some similar message.


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Feb 25, 2010 02:06 PM    Msg. 2 of 3       
Wait, so you want to have a script where it plays a pre-recorded sound when something happens. Well, for a trigger volume, that isn't too hard.

 
( script startup al1
( sleep_until ( volume_test_objects alert_tvol1 ( players )) 15 )
( sound_impulse_start "the directory in which your alert .sound file is located goes here" none 1 )
)


For the script activating when Ai enters a vehicle is a bit harder.

( script startup al2
( sleep_until ( = ( vehicle_test_seat_list vehicle_name_here "jet_seat_name_here" ( ai_actors encounter_name )) true ))
( sound_impulse_start "the directory in which your alert .sound file is located goes here" none 1 )
)


I'm fairly sure the above will work.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Feb 25, 2010 11:29 PM    Msg. 3 of 3       
Thanks...

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 11:00 PM 125 ms.
A Halo Maps Website