
Architect of Halo
Joined: May 15, 2009
Justice for all
|
Posted: Oct 30, 2010 06:52 PM
Msg. 1 of 4
Hello, I was wondering if anyone knew what commands I would need if I wanted to script an explosion created from detonating a reactor or destroying an object in a map. I also want to know how to get a control panel to open a door or spawn an object, or something like that.
And not to offend anyone, but hs_doc and the scripting bible don't do **** for me, because neither of them show any explanation for what script commands do, and how to use them correctly in a script file. Sorry if I angered anyone for writing that explanation.
Thank you for your help.
|

d4rfnader
Joined: Jul 16, 2010
Open mouth, insert sandwhich.
|
Posted: Oct 30, 2010 08:45 PM
Msg. 2 of 4
for the explosion you just need:
(effect_new "directory of explosion" cutsceneflag)
and the device opening the door:
(sleep_until (= (device_get_position nameofdevice) 0)) (device_set_position nameofdevice 1)
*replace device_set_position with object_create to spawn an object instead.
|

Architect of Halo
Joined: May 15, 2009
Justice for all
|
Posted: Oct 30, 2010 09:55 PM
Msg. 3 of 4
Thank you, I wouldn't have figured it out without help.
|