SETTING: Difference between revisions

From AddictHelp
Jump to navigation Jump to search
Kahlan (talk | contribs)
New page: 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...
 
Kahlan (talk | contribs)
No edit summary
Line 3: Line 3:
command to assign the script (mset, rset, oset).   
command to assign the script (mset, rset, oset).   


i.e.  "oset script 1200"
i.e.  "oset script 1200"


will assign script vnum 1200 to the object currently being edited if it has
will assign script vnum 1200 to the object currently being edited if it has
Line 11: Line 11:
You can assign more then one script to a mob/obj/room, and using 'global'
You can assign more then one script to a mob/obj/room, and using 'global'
variables, they can effectivly interact.
variables, they can effectivly interact.
[[CATEGORY:Scripts]]

Revision as of 10:54, 20 November 2008

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).

i.e.  "oset script 1200"

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 using 'global' variables, they can effectivly interact.