|
|
| Line 1: |
Line 1: |
| − | '''REMOTE''' | + | '''AT WAT MAT OAT''' |
| | [[Category:Help Files]] | | [[Category:Help Files]] |
| | + | [[Category:Building]] |
| | | | |
| − | REMOTE
| + | %AT% WAT MAT OAT |
| | | | |
| − | REMOTE
| + | %AT% WAT MAT OAT |
| | | | |
| − | REMOTE
| + | %AT% WAT MAT OAT |
| | | | |
| | | | |
| | | | |
| − | Usage: remote <variable> <id>
| + | %at% <target> <command> |
| | | | |
| | | | |
| | | | |
| − | Remoting a variable saves that variable to the player file for future access.
| + | Using %at% will perform the command in the room where target is found. |
| | | | |
| − | This is used heavily for quests to limit a player to only performing it once.
| |
| | | | |
| − | Here is a quick example from zone 14. The variable must first be set and then
| |
| | | | |
| − | saved to the players file via remote, like:
| + | Example: {cRTSTAT 19{c0 |
| | | | |
| − | * setting the variable to 1 means completed.
| + | {cRTSTAT 20{c0 |
| − | set solved_example_quest_zone_14 1
| |
| − | | |
| − | remote solved_example_quest_zone_14 %actor.id%
| |
| − | | |
| − | Then in future triggers it is checked if that variable already exists in the
| |
| − | | |
| − | player file. In this example, if it does the player is not allowed to continue.
| |
| − | | |
| − | <variable> should always be a unique name. I suggest always including zone #.
| |
| − | | |
| − | <id> can be any value or text you wish to use later.
| |
| − | | |
| − | | |
| − | | |
| − | Create a global variable belonging to a character or player whose id is
| |
| − | | |
| − | specified. The variable must first exist in the script that is running.
| |
| − | | |
| − | | |
| − | | |
| − | For more examples go through the trigedit hallway.
| |
| − | | |
| − | Examples: {cRTSTAT 1409-1411, 23612-23614{c0
| |
| − | | |
| − | | |
| − | | |
| − | See Also: [[RDELETE]] [[VDELETE]] [[TRIG-SET]] [[CONTEXT]]
| |
Latest revision as of 16:10, 13 July 2017
AT WAT MAT OAT
%AT% WAT MAT OAT
%AT% WAT MAT OAT
%AT% WAT MAT OAT
%at% <target> <command>
Using %at% will perform the command in the room where target is found.
Example: {cRTSTAT 19{c0
{cRTSTAT 20{c0