Welcome to the Builder Academy

Question Trigger of the Day - Mob Greet Quest Starter

More
21 Aug 2012 19:30 - 22 Aug 2012 23:04 #721 by Rumble
Code:
Name: 'Mob Quest Tutorial Example Quest starter - 25', VNum: [ 192], RNum: [ 191] Trigger Intended Assignment: Mobiles Trigger Type: Greet , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %direction% == south if %actor.varexists(solved_example_quest_zone_0)% wait 1 sec say you have already completed this quest. halt else wait 1 sec say Hello, %actor.name%. Could you find me the magic eight ball? say Please say yes, %actor.name%. end end
Trigger of the Day - Accept Quest
Code:
Name: 'Mob Quest Tutorial Example Quest accepted - 25', VNum: [ 191], RNum: [ 190] Trigger Intended Assignment: Mobiles Trigger Type: Speech , Numeric Arg: 1, Arg list: yes Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %actor.varexists(solved_example_quest_zone_0)% halt else wait 1 sec say Perfect, %actor.name%. I'll make this easy. It is to the east. wait 3 sec say I'd go get it myself, but I'm lazy and you need the exercise. wait 1 sec end
Trigger of the Day - Receive Quest
Code:
Name: 'Mob Quest Tutorial Example Quest completion - 25', VNum: [ 190], RNum: [ 189] Trigger Intended Assignment: Mobiles Trigger Type: Receive , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 wait 1 sec if (%object.vnum% == 47) && !%actor.varexists(solved_example_quest_zone_0)% dance wait 1 sec say Thank you, %actor.name%. Here is a few experience points and some gold. nop %actor.exp(50)% nop %actor.gold(50)% say Finally, now I can get some answers. wait 1 sec emote shakes the magic eight ball vigorously. wait 1 sec emote does not seem too pleased with his answer. set solved_example_quest_zone_0 1 remote solved_example_quest_zone_0 %actor.id% %purge% %object% elseif %object.vnum% == 47 say you already solved this quest, keep it. return 0 else say I don't want that! junk %object.name% 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: 22 Aug 2012 23:04 by Rumble.

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

More
21 Aug 2012 20:32 #723 by Halenbane
Seems there may be a few other scripts that work with this one, for when they player responds / brings back the quest item. Mind putting those up along with it? :D

Thanks!

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

More
21 Aug 2012 22:56 #724 by bakarus
if you still have the stock tba zone Halenbane, the rest of the trigger for when the player finds the item and returns it is in there.

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

More
21 Aug 2012 22:58 #725 by bakarus
Code:
Trigger Intended Assignment: Mobiles Trigger Type: Speech , Numeric Arg: 1, Arg list: yes Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %actor.varexists(solved_example_quest_zone_0)% || !%actor.is_pc% halt else wait 1 sec say Perfect, %actor.name%. I'll make this easy. It is to the east. wait 3 sec say I'd go get it myself, but I'm lazy and you need the exercise. wait 1 sec end

and the return the item is this
Code:
Trigger Intended Assignment: Mobiles Trigger Type: Receive , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 if %object.vnum% == 47 && !%actor.varexists(solved_example_quest_zone_0)% dance wait 1 sec say Thank you, %actor.name%. Here is a few experience points and some gold. nop %actor.exp(50)% nop %actor.gold(50)% say Finally, now I can get some answers. wait 1 sec emote shakes the magic eight ball vigorously. wait 1 sec emote does not seem too pleased with his answer. set solved_example_quest_zone_0 1 remote solved_example_quest_zone_0 %actor.id% %purge% %object% elseif %object.vnum% == 47 say you already solved this quest, keep it. return 0 else say I don't want that! junk %object.name% end

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

More
21 Aug 2012 23:23 #726 by Halenbane

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

Time to create page: 0.182 seconds