Jump to content

Welcome to Omni-bot Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Entity Health

- - - - - entity health

  • Please log in to reply
1 reply to this topic

#1
VargaTom

VargaTom

    Junior Member

  • Members
  • PipPipPip
  • 81 posts
  • LocationNorth of Hungary

Hi Omni-Bot Scripters,

 

How can I define the health of an entity (Mg42)? A specific example would be very good. Know someone with a gm file that includes one?



#2
Native12

Native12

    Senior Member

  • Members
  • 182 posts

Try this way:

if(GetEntFlags(GetGoal("MOUNTMG42_mg").GetEntity(), ENTFLAG.DEAD))
{}

  • VargaTom and Mateos like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users