• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Check player is in combat?

Arn

Member
Joined
Mar 8, 2010
Messages
282
Reaction score
18
Hi, working on a script. I need to check if a player casting a spell is in combat. I tried the search function obviously, but couldn't find anything on OTland. Please help.

TFS 0.2.12

- - - Updated - - -

Edit: Found the solution after much digging.

getCreatureCondition(cid, CONDITION_INFIGHT) == true
 
Back
Top