Method Creature:IsTargetableForAttack [-] [+]

Returns true if the Creature can be targeted for attack, and returns false otherwise.

Synopsis

targetable = Creature:IsTargetableForAttack( mustBeDead )

Arguments

boolean mustBeDead (false)

If true, only returns true if the Creature is also dead. Otherwise, it must be alive..

Returns

boolean targetable
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine