CheckIsAnimActive(object)

From NWN Lexicon

Turns off the calling object's NW_ANIM_FLAG_IS_ACTIVE animation condition if there are no players in the same area.

Contents

[edit] Parameters

oCreature
Not used.

[edit] Description

Turns off the calling object's NW_ANIM_FLAG_IS_ACTIVE animation condition if there are no players in the same area. If this happens, the function will return FALSE.

Otherwise, this function returns TRUE.

[edit] Remarks

Though object oCreature is listed as a parameter of this function, it is not used anywhere in the function.

NOTE: If the calling object's NW_ANIM_FLAG_CONSTANT animation condition is set, then no change is made to NW_ANIM_FLAG_IS_ACTIVE and the function returns TRUE. This happens regardless of if there is a player in the area or not.

[edit] Requirements

#include "x0_i0_anims"

[edit] Version

???

[edit] See Also

functions:  SetAnimationCondition


author: Baragg, editor: Mistress

Personal tools
Categories