Difference between revisions of "EnemyID"

From Wiki
Jump to: navigation, search
(→‎Description: Applying template to note)
Line 1: Line 1:
−
__NOTOC__
+
{{header|Combat|ro|The #enemyID system variable holds the ID of the current enemy.}}
−
== #enemyId ==
+
−
'''Combat System Variables'''
+
−
=== Description ===
+
−
{{ro}}
+
−
 
+
−
The #enemyID system variable holds the ID of the current enemy.
+
  
  
Line 18: Line 12:
  
 
</pre>
 
</pre>
−
==== See Also ====
+
 
−
{|
+
{{footer}}
−
| Width=200px | [[Var_enemyHits|&#0035;enemyHits]]
+
−
|}
+
−
----
+
−
{|
+
−
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Combat|Combat System Variables]]
+
−
|}
+

Revision as of 08:26, 27 August 2005

⇒ 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

Main Page Documentation