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 »Go for the bulls eye!

Author Topic: Go for the bulls eye! (5 messages, Page 1 of 1)
Moderators: Dennis

Muscl3r
Joined: May 22, 2010

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


Posted: Oct 19, 2010 03:48 AM    Msg. 1 of 5       
Hi again. Can someone help me with making the script recognise when the player has a specific object such as a target?

If this doesn't make sense, what i want to do is make a hud message to shoot the target then once the target has been shot, advance in the script

I'ma making a training mission for my campaign


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Oct 19, 2010 05:29 AM    Msg. 2 of 5       
Well i think you need a biped with an ai atteched to just stand thier and die when shot. The you can use (sleep_until (= (ai_living_count target) 0) 15). Their might be an easy way but I think this will work the best. (for biped use elite or something)


Muscl3r
Joined: May 22, 2010

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


Posted: Oct 20, 2010 05:51 AM    Msg. 3 of 5       
yes but i need to know how to properly make a biped cos when i tried it didn't work


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Oct 20, 2010 07:54 AM    Msg. 4 of 5       
What i would do is spawn an invisible infection form on the bulls eye of each target.
When that infection form is dead, the player can advance.
EXAMPLE:

(script continuous target_advance
(object_create_anew bullseye1)
(object_create_anew target1)
(sleep_until (= (ai_living_count target1) 0) 15)
(effect_new weapons/frag grenade/explosion)
(object_destroy bullseye1)
(sleep 30)
(object_create_anew bullseye2)
(object_create_anew target2)
(sleep_until (= (ai_living_count target2) 0) 15)
(effect_new weapons/frag grenade/explosion)
(object_destroy bullseye2)
)


...and so on. This is a very rough representation of what you could do. Make the infection forms in sapien and name them target1, target2, target3.......
And the bullseyes are called bullseye1, bullseye2, bullseye3......
Edited by MoooseGuy on Oct 20, 2010 at 07:55 AM


Muscl3r
Joined: May 22, 2010

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


Posted: Oct 21, 2010 03:50 AM    Msg. 5 of 5       
sounds like a plan mooseguy. And the frag grenade will cloak the pop of the infection forms. Perfect!

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 2:23 PM 109 ms.
A Halo Maps Website