Question about a player's state

Posted by Traditz on Fri 30 May 2008 02:24 PM — 3 posts, 16,248 views.

#0
Well the subject title is probably misleading as I really didn't know how to word it. But here's my question.

Is there a simple way to check to see if a character currently is not in combat? I know there is the fighting and position attributes under the character struct, but I'm not too sure if either of those would allow me to check to see if a character is in combat through an if statement.

Any help would be appreciated and I can try and give more details if needed.
Australia #1
IS_FIGHTING there is that macro which you can use in if checks, or ch->fighting can also be used.
#2
Thanks for the help, I had noticed ch->fighting earlier and was wondering if that could be used and now I've got my problem solved.