Welcome to the Builder Academy

Question Trigger of the Day Beginner - Mob Act Greet Enter

More
05 Oct 2012 17:43 #861 by Rumble
Code:
Name: 'Mob Act - 156 speaker greet', VNum: [ 127], RNum: [ 127] Trigger Intended Assignment: Mobiles Trigger Type: Act , Numeric Arg: 0, Arg list: has entered the game. Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Num Arg 0 means the argument has to match exactly. So trig will only fire off: * "has entered game." and not "has" or "entered" etc. (that would be num arg 1). * Figure out what vnum the mob is in so we can use zoneecho. eval inroom %self.room% %zoneecho% %inroom.vnum% %self.name% shouts, 'Welcome, %actor.name%!'
Code:
Name: 'Mob Act - 156 speaker goodbye', VNum: [ 128], RNum: [ 128] Trigger Intended Assignment: Mobiles Trigger Type: Act , Numeric Arg: 0, Arg list: has left the game. Commands: eval inroom %self.room% %zoneecho% %inroom.vnum% %self.name% shouts, 'Farewell, %actor.name%!'
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.152 seconds