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 »machine script (hs_doc and scripting bible do not have any script help

Author Topic: machine script (hs_doc and scripting bible do not have any script help (4 messages, Page 1 of 1)
Moderators: Dennis

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.


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Oct 30, 2010 09:58 PM    Msg. 4 of 4       
No problem lol.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 6:56 AM 312 ms.
A Halo Maps Website