AnimalIsDefending Property |
Used to determine if your creature has been commanded to defend.
You can also check the CurrentDefendAction property to get
the actual target creature you're defending against. Because defending
is asynchronous your creature won't defend until the upcoming tick.
Namespace: Terrarium.Sdk.Classes.CreatureAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic bool IsDefending { get; }
Public ReadOnly Property IsDefending As Boolean
Get
public:
property bool IsDefending {
bool get ();
}
member IsDefending : bool with get
Return Value
Type:
Boolean
True if your creature will defend the next tick, False otherwise.
See Also