- Joined
- May 21, 2009
- Messages
- 289
In my ORPG, my quests work, but not quite like they are supposed to. When the first player uses the quest, it seems to work fine, but some players that try to get/or/return quests aren't allowed to? Could someone look over this example of one quest thats not working and tell me whats wrong?
-Get Quest-
-Get Quest-
-
Rat Killer
-
Events
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
(Target unit of issued order) Equal to The Prophet 0623 <gen>
-
Quest_Prophet[(Player number of (Triggering player))] Equal to 0
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Set Quest_Prophet[(Player number of (Triggering player))] = 1
-
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |c000042FFThe Proph...
-
-
-
Rat Killing
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
Quest_Prophet[(Player number of (Owner of (Killing unit)))] Equal to 1
-
Q1P[(Player number of (Owner of (Killing unit)))] Less than 10
-
(Unit-type of (Triggering unit)) Equal to Giant Rat
-
-
Actions
-
Set Q1P[(Player number of (Owner of (Killing unit)))] = (Q1P[(Player number of (Owner of (Killing unit)))] + 1)
-
Game - Display to (Player group((Owner of (Killing unit)))) the text: ((String(Q1P[(Player number of (Owner of (Killing unit)))])) + Rats slain.)
-
-
-
Rat Killer C
-
Events
-
Unit - A unit comes within 300.00 of The Prophet 0623 <gen>
-
-
Conditions
-
Quest_Prophet[(Player number of (Triggering player))] Equal to 1
-
Q1P[(Player number of (Owner of (Killing unit)))] Greater than or equal to 10
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Set Quest_Prophet[(Player number of (Triggering player))] = 2
-
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |c000042FFThe Proph...
-
Player - Add 100 to (Owner of (Triggering unit)) Current gold
-
Hero - Add 350 experience to (Triggering unit), Show level-up graphics
-
Player - Add 1 to (Owner of (Triggering unit)) Food used
-
-