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 »Help with SP script PLZ!!

Author Topic: Help with SP script PLZ!! (7 messages, Page 1 of 1)
Moderators: Dennis

gmax5
Joined: Dec 7, 2006

ED, EDD, N, EDDY FOR THE WORLD!!!!!!!!!


Posted: Aug 23, 2008 12:05 PM    Msg. 1 of 7       
(script startup pelican_lz
(begin
(sleep_until (ai_kill tan_attack (players)) 0)
(sound_looping_stop levels\armymen\sp\m01\music\m01_01)
(ai_spawn_actor green_pelican)
(ai_follow_target_players green_pelican)
)
)
1st: how to make it so that the pelican can come down and drop some allies

2nd: the one highlighted in red has return this error in compile and i dont know how to fix it nor find the cause

"i expected a boolean, but this function returns a void.: (ai_kill tan_attack (players)) 0)"

or "i expected a boolean, but this function returns a void.: (ai_kill tan_defend))"

i forgot what there refering to as bolean any more


DEEhunter
Joined: Dec 16, 2006


Posted: Aug 23, 2008 12:40 PM    Msg. 2 of 7       
Your using booleans as commands. The ai_kill command is a true of false for killing all AI in a map.


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Aug 23, 2008 12:52 PM    Msg. 3 of 7       
I don't understand what you're trying to do with the "sleep_until" command? Are you testing for whether the encounter "tan_attack" is dead? If so, ai_kill is wrong. Ai_kill is a function that kills a specified encounter, not tests for its death. Also, I have no idea what (players) is there for.

(sleep_until (<= (ai_living_count tan_attack) 0) 1)

That would work for testing that tan_attack is dead.

But, if you had a different purpose for "sleep_until", then I could help with that as well.


gmax5
Joined: Dec 7, 2006

ED, EDD, N, EDDY FOR THE WORLD!!!!!!!!!


Posted: Aug 23, 2008 01:09 PM    Msg. 4 of 7       
thanks and how to make the script so that the pelican can come down and drop down for allies to come out of it like in halo b30 map


Higuy
Joined: Mar 6, 2007

@lucasgovatos


Posted: Aug 23, 2008 04:05 PM    Msg. 5 of 7       
It should just do it if you ripped the map correctly, becuase the recoreded animations are in place.


megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Aug 23, 2008 05:04 PM    Msg. 6 of 7       
Quote: --- Original message by: gmax5
thanks and how to make the script so that the pelican can come down and drop down for allies to come out of it like in halo b30 map


It's a recored animation, Open b30 and explore it a bit. Then just make your own animation or just steal an animation from any of the maps.
Edited by megahalofan12 on Aug 23, 2008 at 05:05 PM


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Aug 23, 2008 10:50 PM    Msg. 7 of 7       
Quote: --- Original message by: megahalofan12
It's a recored animation, Open b30 and explore it a bit. Then just make your own animation or just steal an animation from any of the maps.


There's no way to make recorded animations, so his only option is to use one of the animations from the campaign scenarios.


 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:23 AM 125 ms.
A Halo Maps Website