Difference between revisions of "CharDir"

From Wiki
Jump to: navigation, search
Line 10: Line 10:
 
|+ Table of #charDir values
 
|+ Table of #charDir values
 
|-
 
|-
| width=100px style="background:#ffdead;" | Value || width=100px style="background:#ffdead;" | Facing
+
| width=50px style="background:#ffdead;" | Value || width=100px style="background:#ffdead;" | Facing
 
|-
 
|-
 
| 0 || North
 
| 0 || North
Line 19: Line 19:
 
|-
 
|-
 
| 3 || South East
 
| 3 || South East
 +
|-
 +
| 4 || South
 +
|-
 +
| 5 || South West
 +
|-
 +
| 6 || West
 +
|-
 +
| 7 || North West
 
|}
 
|}
  

Revision as of 19:05, 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