How to make item quest type? PLZ HELP!!!

Status
Not open for further replies.
Level 5
Joined
Sep 12, 2009
Messages
82
I am new to triggering and i dont know how unit retrieve,lets say 3 items,items would me cheez lets say....and when i get those 3 items i i need to back to quest giver to give me reward?
I posted this question for a reason:
-Making new RPG
-Always wanted to know this,but never founded on google
 
i was never very good at explainations but i shall try to help, if you are talking about a very simple task, eg.

QG------------I---v
^-----------------<

Key:
QG= quest guy
I= item or items
-= pathway
^,<,v = direction

you would have an initial trigger.

  • Item quest initialization (initially on)
    • Events:
      • unit comes within range of (your Quest giver)
    • Conditions:
      • unit type of triggering unit equal to (your rpg's caracter)
    • Actions:
      • Turn off (this trigger)
      • text message autotimed to (all players) (what he says)
      • turn on trigger (returning trigger)
  • Returning trigger (initially off)
    • Events:
      • Unit comes within range of (your quest giver)
    • Conditions:
      • item is carried by triggering unit in slot 1 equal to (your item)
  • (use an 'or' function for this part if you want the item or items to be in any slot)
    • Actions:
      • Turn off (this trigger)
      • Text message autotimed to (all players) (what he says)
      • give reward
Thats basically how you do it.
 
Level 12
Joined
Mar 10, 2008
Messages
869
This...
  • Get Quest
    • Events
      • Unit - A unit comes within 200.00 of Quest Giver 0000 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True // This is boolean condition.
    • Actions
      • Trigger - Turn off (This trigger)
      • Game - Display to (All players) the text: Hey! I need you to get some cheese for me, I give you good reward.
      • Trigger - Turn on Finish Quest <gen>
Then this...
  • Finish Quest // Un-tick "Initially on"
    • Events
      • Unit - A unit comes within 200.00 of Quest Giver 0000 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True // Boolean condition
      • (Item carried by (Triggering unit) in slot 1) Equal to Cheese // Item condition // This is basic triggering, so tell the players that they need to return with the exact items in exact inventory slot.
    • Actions
      • Trigger - Turn off (This trigger)
      • Game - Display to (All players) the text: Thanks for gettin the cheese for me, here's your reward.
      • Hero - Add 1000 experience to (Triggering unit), Show level-up graphics // Triggering unit is the one that goes close to the quest giver.
      • Player - Add 1000 to (Triggering player) Current gold // Change triggering player and unit to whoever you want the exp to go to, if you want the exp to be shared around.
      • Trigger - Turn on Get Quest <gen> // Add this if you want the quest to be able to be completed several times.
*// are the details of the trigger
 
Last edited:
Level 7
Joined
Dec 18, 2008
Messages
400
I think you should do this instead in Condition part:

(Boolean Comparison)
Entering Unit has Item type of X equal to true

because then the player don't have to put the item in 1. slot :thumbs_up:
 
Status
Not open for further replies.
Top