AnimalIsAttacking Property |
Used to determine if your creature has been commanded to attack.
You can also check the CurrentAttackAction property to get
the actual target creature you're attacking. Because attacking
is asynchronous your creature won't attack 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 IsAttacking { get; }
Public ReadOnly Property IsAttacking As Boolean
Get
public:
property bool IsAttacking {
bool get ();
}
member IsAttacking : bool with get
Return Value
Type:
Boolean
True if your creature will attack the next tick, False otherwise.
See Also