AnimalCurrentDefendAction Property |
After your creature has begun defending you can get the DefendAction object that
represents you're creatures current defend action. You can use this to examine
the target creature you're defending against 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 DefendAction CurrentDefendAction { get; }
Public ReadOnly Property CurrentDefendAction As DefendAction
Get
public:
property DefendAction^ CurrentDefendAction {
DefendAction^ get ();
}
member CurrentDefendAction : DefendAction with get
Return Value
Type:
DefendAction
A DefendAction object representing the current defend action and the values
passed into BeginDefending.
See Also