1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. API Functions

LT_entity_has_condition

boolean LT_entity_has_condition(number who,number condition)

numberwho The index of entity that might have the condition
numbercondition The condition to check for

SERVER This has no effect if performed on the client (but will work in single player)

Checks to see if a character entity has a condition. Provide the entity index number for the character to check, not the entity table itself. This will return true if the entity has the condition currently. Provide the condition ID of the condition to check for, you can look those up here.