Builder Stuff  

(it ain't pretty, but I'm a coder on the last day of a 3-day weekend...)

 

Home

Cities

History

World

Features

Reviews

Connect Now

Misc



Here is a really great site with all kinds of training and examples on scripting the rooms, mobs, objects, and triggers.

http://www.builderacademy.net/Oasis_DG_pages/index.html


Since we don't like crash loops, read this before you do any triggers:

(shamelessly stolen from the above site, because you really need to read it!)

It is important to first try out the trigger via the attach command before attaching it via the script editor. If you've made a mistake, causing the mud to crash (we've seen it happen), the script will reattach when the mud comes back up, causing another crash, ad infinitum. This will not happen if you 'attach' it.

attach Attach has the following syntax:
attach { wtr | mtr | otr } <trigger vnum> { obj/mob name | obj/mob/room vnum } [ pos ]
attach { room | mob | obj } <trigger vnum> { obj/mob name | obj/mob/room vnum } [ pos ]
Examples:
attach mob 1299 templar 1 --> attach trigger 1299 to 'templar' in position 1
attach wtr 1299 1204 --> attach script 1299 to the immortal board room.

NOTE: attach only works on this instance of a mob/object/room, and the
script will not be saved- use the script editor
within oedit/redit or medit to do that.