REMOTES

commands

Also known as: VSET · RSET

Usage: remote <variable> <id> Remoting a variable saves that variable to the player file for future access. 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: * setting the variable to 1 means completed. set solved_example_quest_zone_0 1 remote solved_example_quest_zone_0 %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 trigger that is running. For more examples GOTO 13 to access the trigedit hallway. Examples: TSTAT 199, 190-192, 23612-23614 See also:: RDELETE, VDELETE, TRIG-SET, CONTEXT