kvasir
New Member
- Reaction score
- 2
I created an RPG (well it's not ready yet) and I used Husky's tut for the Quests but they just don't work! I don't know why. Maybe someone can tell me a better way to create quests.
Thx
Thx
Trigger:
- Quest
- Events
- <your event>
- Conditions
- <your conditions>
- Actions
- Quest - Create a <your type> quest titled <your name> with the description <your description> , using icon path <your icon>.
As simple as that.
thats exactly the point - using Husky's tut the counter counts just the first unit then forgets the rest!
Quest Accepted
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Triggering unit) Equal to (==) Knight 0000 <gen>
Actions
Quest - Display to (All players) the Quest Discovered message: <your message>
Quest - Create a Required quest titled <Your Title> with the description <Your description>, using icon path <Your Icon>
Set Troll_Hunt_Quest = (Last created quest)
Trigger - Turn on Troll Killed <gen>
Trigger - Turn off (This trigger)
Troll Killed
Events
Unit - A unit Dies
Conditions
Multiple ConditionsOr - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Equal to (==) Forest Troll
(Unit-type of (Dying unit)) Equal to (==) Forest Troll Shadow Priest
Actions
Set Trolls_Killed = (Trolls_Killed + 1)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Trolls_Killed Equal to (==) 10
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Turn on Reward <gen>
Else - Actions
Reward
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Triggering unit) Equal to (==) Knight 0000 <gen>
Actions
Quest - Display to (All players) the Quest Discovered message: <your message>
Trigger - Turn off (This trigger)
Quest - Mark Troll_Hunt_Quest as Completed
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add 75 to (Picked player) Current gold