Difference between revisions of "CharDir"

From Wiki
Jump to: navigation, search
Line 41: Line 41:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[Documentation_Character|#charPosX]] || Width=200px | [[Var_charPosY|#charPosY]]  
+
| Width=200px | [[Documentation#Character|#charPosX]] || Width=200px | [[Var_charPosY|#charPosY]]  
 
| [[Var_charPosZ|#charPosZ]]
 
| [[Var_charPosZ|#charPosZ]]
 
|}
 
|}

Revision as of 18:06, 10 August 2005

#charDir

Miscellaneous System Variables

Description

The #charDir system variable determines the direction the character is facing..

Table of #charDir values
Value Facing
0 North
1 North East
2 East
3 South East
4 South
5 South West
6 West
7 North West

Example


top:
if #CHARDIR = 0
	msg : Looking North $
wait 2s
goto top

See Also

#charPosX #charPosY #charPosZ

Main_Page Documentation Miscellaneous System Variables