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 help with biped scripts.

Author Topic: Need help with biped scripts. (3 messages, Page 1 of 1)
Moderators: Dennis

50predator50
Joined: Nov 4, 2010


Posted: Sep 5, 2011 09:44 AM    Msg. 1 of 3       
Okay so I am trying to make a Multi-player level with some A.I. Cyborgs(Spartans) on the map Wizard and I made 7 encounters all named 1-7 on different teams so It's like FFA Slayer and 48 bipeds named 1-48, and I did the (ai_attach) script, but I'm trying to make it so there is only 7 A.I. on the field at once, but instead there is only 1-2. Here is my script:

(script continuous ai
(object_create 1)
(ai_attach 1 1)
(sleep_until (= (ai_living_count 1) 0) 15)
(object_create 8)
(ai_attach 8 1)
(sleep_until (= (ai_living_count 1) 0) 15)
(object_create 15)
(ai_attach 15 1)

(object_create 2)
(ai_attach 2 2)
(sleep_until (= (ai_living_count 2) 0) 15)
(object_create 9)
(ai_attach 9 2)
(sleep_until (= (ai_living_count 2) 0) 15)
(object_create 16)
(ai_attach 16 2)

(object_create 3)
(ai_attach 3 3)
(sleep_until (= (ai_living_count 3) 0) 15)
(object_create 10)
(ai_attach 10 3)
(sleep_until (= (ai_living_count 3) 0) 15)
(object_create 17)
(ai_attach 17 3)

(object_create 4)
(ai_attach 4 4)
(object_create 4)
(sleep_until (= (ai_living_count 4) 0) 15)
(object_create 11)
(ai_attach 11 4)
(sleep_until (= (ai_living_count 4) 0) 15)
(object_create 18)
(ai_attach 18 4)

(object_create 5)
(ai_attach 5 5)
(sleep_until (= (ai_living_count 5) 0) 15)
(object_create 12)
(ai_attach 12 5)
(sleep_until (= (ai_living_count 5) 0) 15)
(object_create 19)
(ai_attach 19 5)

(object_create 6)
(ai_attach 6 6)
(sleep_until (= (ai_living_count 6) 0) 15)
(object_create 13)
(ai_attach 13 6)
(sleep_until (= (ai_living_count 6) 0) 15)
(object_create 20)
(ai_attach 20 6)

(object_create 7)
(ai_attach 7 7)
(sleep_until (= (ai_living_count 7) 0) 15)
(object_create 14)
(ai_attach 14 7)
(sleep_until (= (ai_living_count 7) 0) 15)
(object_create 21)
(ai_attach 21 7)
)


diablo_1422
Joined: May 22, 2008

Is a noob, and will probably will be a noob always


Posted: Sep 5, 2011 01:28 PM    Msg. 2 of 3       
You REALLY sure you need a script?
You can make it simple with just using SQUADS


50predator50
Joined: Nov 4, 2010


Posted: Sep 5, 2011 09:36 PM    Msg. 3 of 3       
I'm just testing things because I also want to make a team slayer varient of it afterwards except I am going to attach a green navpoint above the allied teams heads. So I just want 7 A.I. on the field at once instead of 1-2. So can anyone help me with this?

 

 
Previous Older Thread    Next newer Thread







Time: Mon January 20, 2020 9:35 AM 172 ms.
A Halo Maps Website