AnimalCurrentAttackAction Property |
After your creature has begun attacking you can get the AttackAction object that
represents your creature's current attack action. You can use this to examine
the target creature you're attacking and determine if there might be a
more appropriate enemy.
Namespace: Terrarium.Sdk.Classes.CreatureAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic AttackAction CurrentAttackAction { get; }
Public ReadOnly Property CurrentAttackAction As AttackAction
Get
public:
property AttackAction^ CurrentAttackAction {
AttackAction^ get ();
}
member CurrentAttackAction : AttackAction with get
Return Value
Type:
AttackAction
AttackAction object representing the current attack action and the values
passed into BeginAttacking.
See Also