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 »script command

Author Topic: script command (5 messages, Page 1 of 1)
Moderators: Dennis

Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Jul 28, 2011 09:10 PM    Msg. 1 of 5       
I need a command like this:

(sleep_until (volume_test_objects <trigger_volume> (players)) 15)

except a biped instead of a trigger volume.


DAS_G_Lion
Joined: Dec 30, 2010

Wanted. Somebody to go back in time with me.


Posted: Jul 28, 2011 09:12 PM    Msg. 2 of 5       
a trigger volume is needed in the script.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Jul 28, 2011 09:22 PM    Msg. 3 of 5       
but is there a command that does that sort of thing but with a biped instead?


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Jul 28, 2011 10:14 PM    Msg. 4 of 5       
(script continuous pedz
(ai_look_at_object check1-biped1 check1-biped2)
(ai_look_at_object check1-biped2 check1-biped1)
(ai_attach check1-biped1 encounter)
(ai_attach check1-biped2 encounter)
(objects_attach check1 "biped1" check1-biped1 "head")
(objects_attach check1 "biped2" check1-biped2 "head")
(sleep 5)
)

(script continuous pickup
(sleep_until (and (objects_can_see_object peli1-biped1 hog2 45) (objects_can_see_object peli1-biped2 hog2 45)) 1)
<blah>
)

Place two bipeds, and a item that you want them to attach too; this attach item has markers called biped1 and biped2 (where the bipeds will sit)
If anything comes between the bipeds, it will continue the script to the <blah> portion.

And if you want a single command to do all this, go to h2v instead, where the object_distance command exists (man I love that command).


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Jul 28, 2011 10:48 PM    Msg. 5 of 5       
thanks

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 7:26 AM 110 ms.
A Halo Maps Website