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 »If (Health is low) Script?

Author Topic: If (Health is low) Script? (2 messages, Page 1 of 1)
Moderators: Dennis

MatthewDratt
Joined: Sep 11, 2010

TAKEDOWN IS OUT MattDratt.com


Posted: Apr 24, 2012 07:43 PM    Msg. 1 of 2       
If there a way to script it so
if (health/sheilds are down or low) then something triggers


Darfnader
Joined: Mar 19, 2012

wut


Posted: Apr 24, 2012 08:56 PM    Msg. 2 of 2       
(if (unit_get_health (unit (list_get (players) 0)) X) (then statement))
(if (unit_get_shield (unit (list_get (players) 0)) X) (then statement))


Replace "X" with the health or shield of the player required to trigger the then statement.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 7:19 AM 172 ms.
A Halo Maps Website