From Stealth Client

Jump to: navigation, search
m (1 revision)
Line 5: Line 5:
</noinclude>
</noinclude>
== Attack ==
== Attack ==
-
<source lang="pascal">procedure Attack(ObjdID : Cardinal)</source>
+
<source lang="pascal">procedure Attack(ObjdID:Cardinal)</source>
-
Кинуть атаку на обьект ''ObjdID''.  
+
Throw an attack on the object'' ObjdID''.  
-
В случае если вы не в War режиме, то клиент сам установит его перед атакой.
+
If you are not in War mode, the client can install it before the attack.
-
'''Пример:'''
+
'''Example:'''
<source lang="pascal">
<source lang="pascal">
if (WarTargetID <> Enemy) then
if (WarTargetID <> Enemy) then
   attack(Enemy);
   attack(Enemy);
</source>
</source>

Revision as of 21:39, 15 February 2012


Attack

procedure Attack(ObjdID:Cardinal)

Throw an attack on the object ObjdID.

If you are not in War mode, the client can install it before the attack.

Example:

if (WarTargetID <> Enemy) then
  attack(Enemy);