Difference between revisions of "CharDir"
From Wiki
(→See Also) |
|||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | [[Category: Miscellanious]] | |
| − | + | {| | |
| − | = | + | | width=100 | {{ro}} || The #charDir system variable determines the direction the character is facing. |
| − | {{ro}} | + | |} |
| − | + | ||
| − | The #charDir system variable determines the direction the character is facing. | + | |
{| border="1" cellpadding="2" | {| border="1" cellpadding="2" | ||
| Line 29: | Line 27: | ||
|} | |} | ||
| − | + | == Example == | |
<pre> | <pre> | ||
| Line 39: | Line 37: | ||
</pre> | </pre> | ||
| − | + | {{footer}} | |
| − | { | + | |
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
Revision as of 19:50, 25 August 2005
| ⇒ | The #charDir system variable determines the direction the character is facing. |
| 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
| Main Page | Documentation |