Difference between revisions of "TargCurs"

From Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Extended|rw|The #targCurs system variable determines if cursor is a target cursor. It can also be written to, to get a target cursor.}}
== #targCurs ==
+
'''Extended System Variables'''
+
=== Description ===
+
{{rw}}
+
  
The [[Var targCurs|#targCurs]] system variable determines if cursor is a target cursor. It can also be written to, to get a target cursor.
 
 
'''Table 33. [[Var targCurs|#targCurs]] values.'''
 
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
|-
+
|+#targCurs Values
 
| width=60px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description
 
| width=60px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description
 
|-
 
|-
Line 17: Line 10:
 
|1 || Cursor is a target cursor.
 
|1 || Cursor is a target cursor.
 
|}
 
|}
 
 
  
 
==== Example ====
 
==== Example ====
Line 34: Line 25:
  
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
=See Also=
| Width=200px | [[target]]
+
{{Extended}}
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Extended|Extended System Variables]]
+
|}
+

Latest revision as of 09:17, 7 September 2007

The #targCurs system variable determines if cursor is a target cursor. It can also be written to, to get a target cursor.


#targCurs Values
Value Description
0 Cursor is a normal cursor.
1 Cursor is a target cursor.

Example

event SysMessage Target something!

set #targCurs 1
targLoop:
if #targCurs = 1
  goto targLoop

event SysMessage The ID of the target is #lTargetID
halt


See Also

Extended

  • Extended system variables show information about various systems in the Ultima Online client that can be gained by using certain commands.
#skill Returns the current skill level for a skill chosen with chooseSkill command
#skillCap Returns the current skill cap for a skill chosen with chooseSkill command
#skillLock Returns the current lock status of the skill chosen with chooseSkill command
#journal Returns the journal line selected using the scanJournal command
#jIndex Returns the index of the current journal entry
#jColor Returns the color of the text in the journal
#sysMsg Returns the current system message
#sysMsgCol Returns the current system message color
#targCurs Returns if cursor is a target cursor
#cursKind Returns the facet where the character is