Difference between revisions of "SkillLock"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 +
 +
The [[Var_skillLock|#SkillLock]] system variable determines the current lock status of the skill chosen with [[chooseSkill]] command.
 +
 +
''Table 32. [[Var_skillLock|#SkillLock]] values.''
 +
 +
{| border="1" cellpadding="2"
 +
|-
 +
| width=60px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description
 +
|-
 +
|up || Skill lock is pointing up.
 +
|-
 +
|down || Skill lock is pointing down.
 +
|-
 +
|locked || Skill lock is locked.
 +
|}
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 +
chooseSkill taming
 +
if #skillLock = locked
 +
{
 +
event SysMessage Your taming is locked. Cannot continue.
 +
halt
 +
}
  
  
Line 12: Line 33:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
| Width=200px | [[Var_skill|&#0035;Skill]] || Width=200px | [[chooseSkill]] || Width=200px | [[event_SkillLock|event SkillLock]]
 
|}
 
|}
 
----
 
----

Revision as of 21:58, 15 August 2005

#skillLock

Extended System Variables

Description

The #SkillLock system variable determines the current lock status of the skill chosen with chooseSkill command.

Table 32. #SkillLock values.

Value Description
up Skill lock is pointing up.
down Skill lock is pointing down.
locked Skill lock is locked.

Example

chooseSkill taming
if #skillLock = locked
{
	event SysMessage Your taming is locked. Cannot continue.
	halt
}


See Also

#Skill chooseSkill event SkillLock

Main_Page Documentation Extended System Variables