Method Unit:Attack [-] [+]

The Unit tries to attack a given target

@return didAttack : if the Unit did not attack

Synopsis

Unit:Attack( who )

Unit:Attack( who, meleeAttack )

Arguments

Unit who

Unit to attack.

boolean meleeAttack (false)
See method description.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine