SETTING
Jump to navigation
Jump to search
To set a script on a mob/obj/room, you must edit that mob/obj or script with the appropriate olc command (medit, redit, oedit), then use the "?set" command to assign the script (mset, rset, oset).
Example:
oset script 1200
This will assign script vnum 1200 to the object currently being edited if it has not already been assigned. If the script specified has been assigned, this will remove it, and you will get a message indicating what it's doing.
You can assign more then one script to a mob/obj/room, and with the use of global variables, they can effectively interact.
See also: SCRIPT COMMANDS, VARIABLES