Josh
04-06-2010, 11:39 AM
Hi all
when setting an avatar's state, worldwiz doesn't actually seem to check whether the avatar's really has this state. So
avatar.state(123)
doesn't result in a failure when the avatar doesn't have a state with number 123 - the avatar just doesn't do any animation.
Is there a way to determine whether the avatar has the state 123? Something like
avatar.has_state(123) # True / False
? Thanks for help,
Josh
when setting an avatar's state, worldwiz doesn't actually seem to check whether the avatar's really has this state. So
avatar.state(123)
doesn't result in a failure when the avatar doesn't have a state with number 123 - the avatar just doesn't do any animation.
Is there a way to determine whether the avatar has the state 123? Something like
avatar.has_state(123) # True / False
? Thanks for help,
Josh