LT_entity_has_condition
boolean LT_entity_has_condition(number who,number condition)
number | who | The index of entity that might have the condition |
number | condition | 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.