Welcome to the Builder Academy

Question Trigger of the Day - Room Door Example

More
23 May 2013 18:02 #2580 by Rumble
Code:
Name: 'Room Door Example', VNum: [ 59], RNum: [ 59] Trigger Intended Assignment: Rooms Trigger Type: Door , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * The first time this door is opened dump a bucket of water on the actor. if %cmd% == open %echoaround% %actor% As %actor.name% tries to %cmd% the door to the %direction% a bucket of water dumps on %actor.hisher% head. %send% %actor% Splash!! %send% %actor% A bucket of water drops on top of your head as you open the door. %damage% %actor% 1 %echo% The door slams shut again. * Detach this trigger so it only happens once per reboot/copyover. detach 59 %self.id% * Don't allow the door to be opened. return 0 end
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds