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 »Scripting Help

Author Topic: Scripting Help (3 messages, Page 1 of 1)
Moderators: Dennis

Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 25, 2008 10:57 PM    Msg. 1 of 3       
Lets say that I give an encounter of AI a assault rifle and a rocket launcher. First of all, would it be possible to script him to switch to a rocket launcher when he sees a vehicle, and back when he sees infantry? Second of all, if the above is possible, how would you do it? Please help


kai5888
Joined: Jun 29, 2008

Start the revolution


Posted: Aug 25, 2008 11:12 PM    Msg. 2 of 3       
i has no idea.... the only thing i know about certain weapons being out is...

"unit_has_weapon_readed "
returns as a 0 or 1.... and i think a -1 if the unit doesn't exist


FoxtrotZero
Joined: Aug 3, 2008

Digging Foxholes by Profession


Posted: Aug 26, 2008 12:35 AM    Msg. 3 of 3       
im sure its possible. in what manner i am not sure.

And i be;lieve you meant to say

"unit_has_weapon_readied"

you had spelled readied wrong. but im not too sure i spelt it right either...

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 2:54 AM 94 ms.
A Halo Maps Website