Difference between revisions of "EnemyID"

From Wiki
Jump to: navigation, search
m
(Description: Applying template to note)
Line 7: Line 7:
 
The #enemyID system variable holds 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.}}
 +
 
  
 
==== Example ====
 
==== Example ====

Revision as of 15:53, 26 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