04 March 2007

door open/unlock trig

Hey haven't posted in a couple days, sorry. I've been getting my character to trans. Well today I'm going to talk about door trigs. I've got a good working one that works with multiple doors in a room. Its simple so here goes.

door trig#CLASS {Dooropen}
#TRIGGER {^The (%w) seems to be closed.} {open door %lastin2}
#TRIGGER {It seems to be locked.} { unlock door %lastcom2 open door %lastcom3 }
#CLASS 0

Well hope that this helps some of ya'll.

No comments: