Attack
Attack mobile.
If you are not in War mode, Stealth will switch it on before the attack.
ObjID : ID of Object. Can be a number (numerical or hex) OR name of object in ObjectsCollection (DWS only - read more about Collections)
procedure Attack(ObjID : Cardinal);
DWS\Pascal Script Example:
if (WarTargetID <> Enemy) then
attack(Enemy);
def Attack(AttackedID)