-
Notifications
You must be signed in to change notification settings - Fork 6
Command Positions
SlimeCubed edited this page Apr 23, 2022
·
2 revisions
Some commands (i.e. at and default_pos) have a pos parameter. This is used to choose where a command is executed.
Positions are formatted as <target>, where target is one of the following:
-
me- Execute at the first player. This is the default target. -
default- Execute at the default position set bydefault_pos. -
cursor- Execute at the mouse cursor. -
camera- Execute at the center of the camera. An object selector may also be used, targeting the position of the first object found. See Using Selectors for more information.
default_pos <cursor> - Sets all subsequent commands to execute at the cursor.
at <room,type=scavenger> object spear - Gives a scavenger in the current room a spear.
at <camera> tp - Teleports the player to the center of the screen.