CAOS Language Guide
Specific Pointers
|
Macro |
Description |
|
These commands return (and/or set) the specified object. i.e. TARG NORN will set the TARG object to be the currently selected creature. VA00-99 and OV00-99 can also be used to refer to objects. |
|
|
TARG TARG object |
Sets/returns the current object of script focus. Command and RValue |
|
OWNR |
Object who owns the currently executing script or the currently selected creature if used in a non-event script (i.e. injected for immediate execution). RValue only |
|
FROM |
Object who caused event leading to execution of this script. RValue only |
|
NORN |
Sets/returns the currently selected creature. RValue and LValue |
|
PNTR |
The hand/pointer object. RValue only |
|
_IT_ |
Object that owner creature was attending to. Note: Only OWNR’s IT can be determined, not TARG’s. RValue only |
|
CARR |
Object that’s carrying OWNR. RValue only |
|
EDIT |
The contents of the edit buffer, set by using the EDIT command or shift clicking an object. RValue and command. |
|
TCAR |
Returns carrier of TARG. RValue only |
|
OBJP |
Legacy command from Creatures 1. Specific pointer to store ID of an object for later retrieval. Can now use normal variables instead. RValue and LValue |