This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
cardinal_direction [2017/07/28 10:36] – justin | cardinal_direction [2020/05/07 09:57] – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
When used in scripting (for example, when manually writing a [[quick script]]), the direction should be specified in all uppercase, i.e. NORTH, SOUTH, WEST, and EAST. | When used in scripting (for example, when manually writing a [[quick script]]), the direction should be specified in all uppercase, i.e. NORTH, SOUTH, WEST, and EAST. | ||
- | ====Example:==== | + | ====Examples:==== |
- | < | + | < |
+ | load_map(" | ||
+ | </ | ||
+ | <code bauxite> | ||
rotate_player_to_direction(WEST) | rotate_player_to_direction(WEST) | ||
</ | </ |