Click or drag to resize
Animal Events

The Animal type exposes the following members.

Events
  NameDescription
Public eventAttackCompleted

The AttackCompleted event is fired whenever your creature has completed an attack operation. Your creature should hook this event to learn the results of the battle such as how much damage was inflicted and whether the target creature was killed.

Public eventAttacked
Fired when an organism is being attacked by another organism.
Public eventBorn
Fired on an organism when it is first born.
Public eventDefendCompleted
Fired when a DefendAction is completed.
Public eventEatCompleted
Fired when an EatAction is completed.
Public eventIdle
Fired after all other events have been fired.
Public eventLoad
Fired before all other events have been fired.
Public eventMoveCompleted

The MoveCompleted event is fired whenever your creature has completed a movement operation. This can either mean the creature reached the destination or that the creature was blocked and can't move anymore.

Public eventReproduceCompleted
Fired on the parent when a ReproduceAction is completed.
Public eventTeleported
Fired after an organism has been teleported.
Top
See Also