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 »Is scripting this possible, and if so then how.

Author Topic: Is scripting this possible, and if so then how. (3 messages, Page 1 of 1)
Moderators: Dennis

Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Jan 5, 2014 03:17 PM    Msg. 1 of 3       
Would it be possible to use these on an AI:
unit_get_health
unit_get_shield

Because I have no idea how to go about doing that.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Jan 5, 2014 03:40 PM    Msg. 2 of 3       
(unit_get_health (unit (list_get (ai_actors RANDOM_ENCOUNTER) 0)))
(unit_get_shield (unit (list_get (ai_actors RANDOM_ENCOUNTER/RANDOM_SQUAD) 67)))


Skidrow925
Joined: Mar 19, 2010

"ideological sense of respect and tact of a 5yo"


Posted: Jan 5, 2014 03:54 PM    Msg. 3 of 3       
Awesome, thanks.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 3:39 AM 140 ms.
A Halo Maps Website