HorseGetIsDisabled(object)

Detect whether a creature is disabled.

int HorseGetIsDisabled(
    object oCreature=OBJECT_SELF
);

Parameters

oCreature

The creature to check.


Description

This function detects if oCreature is in a disabled state.

Can be used to detect disabling effects such as death, fear, confusion, sleep, paralysis, petrify, stun, entangle and knockdown



Remarks

Use of this function is not recommended. It appears to be an internal component of the horse system. In addition to checking for the named conditions, it checks for a blocked path, which could have unpredictable consequences if used outside of the horse system.


Requirements

#include "x3_inc_horse"

Version

1.69

See Also

functions:  HorseMount
categories:  Horse Functions


author: Proleric, editor: Mistress