Welcome to the Builder Academy

Question Trigger of the Day - Rumble's Dog

More
25 Jun 2012 09:45 - 25 Jun 2012 09:48 #241 by Rumble
Code:
Name: 'Angel Receives Treats - 207', VNum: [ 152], RNum: [ 152] Trigger Intended Assignment: Mobiles Trigger Type: Receive , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * A simple receive trig if you give the dog food she will eat it. If you give * her dog treats she will follow you. Everything else she drops. if %object.type% == FOOD wait 1 sec emote swallows %object.shortdesc% without even chewing. wait 1 sec emote looks up at %actor.name%, hoping for some more. if %object.vnum% == 164 wait 1 sec mfollow %actor% end if %object.vnum% == 172 halt end %purge% %object% else wait 1 s drop %object.name.car% end
Code:
Name: 'Angel Follows Masters Commands - 207', VNum: [ 153], RNum: [ 153] Trigger Intended Assignment: Mobiles Trigger Type: Speech , Numeric Arg: 1, Arg list: * Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %self.master% == %actor% wait 1 sec switch %speech.car% case sit sit wait 3 sec stand break case speak emote barks sharply. break case down sit emote lies down. wait 3 sec stand break case shake emote puts a paw up to be shook. break case kill if %speech.cdr.id% && %self.room% == %speech.cdr.room% emote growls at %speech.cdr.name% menacingly. mkill %speech.cdr% else emote looks around for someone to attack. end break case rollover emote drops to the ground and rolls over a few times. break case walk emote stands up on her hind legs and staggers around in circles break case crawl emote drops down to the ground and crawls towards %actor.name%. break case jump emote jumps up into the air. break case chase if %speech.cdr% == your tail emote looks back at %self.hisher% tail angrily and attacks it, running in tight little circles. end break case highfive emote jumps up and gives %actor.name% a highfive. break default * nothing is going to happen break done end
Code:
Name: 'Check for treats - 207', VNum: [ 155], RNum: [ 155] Trigger Intended Assignment: Mobiles Trigger Type: Greet , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * My dog is looking if people have some beggin strips. if %actor.has_item(164)% wait 1 sec %send% %actor% %self.name% sits down and stands up on %self.hisher% hind legs, then starts whining pitifully staring at you. %echoaround% %actor% %self.name% sits down and stands up on %self.hisher% hind legs, then starts whining pitifully staring at %actor.name%. * Or if they have her rubber chicken. elseif %actor.has_item(172)% wait 1 sec emote sniffs %actor.name%. wait 1 sec growl %actor.name% %send% %actor% %self.name% tries to get at something you are carrying. %echoaround% %actor% %self.name% tries to get at something %actor.name% is carrying. end
Code:
Name: 'Angel plays with chicken - 207', VNum: [ 156], RNum: [ 156] Trigger Intended Assignment: Mobiles Trigger Type: Random , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %self.has_item(172)% growl chicken squeeze chicken end
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
Last edit: 25 Jun 2012 09:48 by Rumble.

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

Time to create page: 0.162 seconds