Difference between revisions of "EnemyID"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 +
 +
The #enemyID system variable determines 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 ====
 
==== Example ====
 
<pre>
 
<pre>
  
 +
if #enemyID <> N/A
 +
  display ok You're being attacked!
  
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
| Width=200px | [[Var_enemyHits|&#0035;enemyHits]]
 
|}
 
|}
 
----
 
----

Revision as of 20:37, 10 August 2005

#enemyId

Combat System Variables

Description

The #enemyID system variable determines 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!

See Also

#enemyHits

Main_Page Documentation Combat System Variables