Difference between revisions of "EnemyID"

From Wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
{{ro}}
 
{{ro}}
  
The #enemyID system variable determines the ID of the current enemy.
+
The #enemyID system variable holds the ID of the current enemy.
  
 
''Note: It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch ID's randomly.''
 
''Note: It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch ID's randomly.''
Line 13: Line 13:
  
 
if #enemyID <> N/A
 
if #enemyID <> N/A
   display ok You're being attacked!
+
   display ok You're being attacked! The attacker has , #enemyHits , % Hits.
  
 
</pre>
 
</pre>

Revision as of 19:53, 10 August 2005

#enemyId

Combat System Variables

Description

The #enemyID system variable holds the ID of the current enemy.

Note: It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch ID's randomly.

Example


if #enemyID <> N/A
  display ok You're being attacked! The attacker has , #enemyHits , % Hits.

See Also

#enemyHits

Main_Page Documentation Combat System Variables