Blade_Masta
New Member
- Reaction score
- 0
hey guys i got prob with my quest trigger!!
1.When i complete my quest it doesnt show any message saying that ive completed(but when i check quest it's marked complete)
2.When ive done my quest that is killing 10 kobold,after the 10th kill it goes to -1 why??
3.When ive finished complete quest i want to give reward to my guy,(i want him to go near my quest give and then he receive the reward+mark quest complete ,hope not asking for the impossible lol)
For my triggers here they are
My first trigger
Give Quest
Events
Unit - A unit enters Area1 <gen>
Conditions
Actions
Quest - Create a Optional quest titled The Human Outpost with the description The Human Outpost h..., using icon path ReplaceableTextures\CommandButtons\BTNKobold.blp
Quest - Disable (Last created quest)
Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
Quest - Enable (Last created quest)
Quest - Flash the quest dialog button
Custom script: endif
Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Discovered message: |cffffcc00Quest|r -...
Quest - Create a quest requirement for (Last created quest) with the description Kill 10 Kobolds
Trigger - Turn off (This trigger)
And for my 2cd trigger
Quest Update
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
(Unit-type of (Dying unit)) Equal to Kobold
Actions
Set Quest_Kobold_Integer = (Quest_Kobold_Integer + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Quest_Kobold_Integer Equal to 10
Then - Actions
Quest - Mark (Last created quest) as Completed
Quest - Change the description of (Last created quest requirement) to <Empty String>
Else - Actions
Quest - Change the description of (Last created quest requirement) to (Kill + ((String((10 - Quest_Kobold_Integer))) + Kobolds))
Ty to answer my question
1.When i complete my quest it doesnt show any message saying that ive completed(but when i check quest it's marked complete)
2.When ive done my quest that is killing 10 kobold,after the 10th kill it goes to -1 why??
3.When ive finished complete quest i want to give reward to my guy,(i want him to go near my quest give and then he receive the reward+mark quest complete ,hope not asking for the impossible lol)
For my triggers here they are
My first trigger
Give Quest
Events
Unit - A unit enters Area1 <gen>
Conditions
Actions
Quest - Create a Optional quest titled The Human Outpost with the description The Human Outpost h..., using icon path ReplaceableTextures\CommandButtons\BTNKobold.blp
Quest - Disable (Last created quest)
Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
Quest - Enable (Last created quest)
Quest - Flash the quest dialog button
Custom script: endif
Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Discovered message: |cffffcc00Quest|r -...
Quest - Create a quest requirement for (Last created quest) with the description Kill 10 Kobolds
Trigger - Turn off (This trigger)
And for my 2cd trigger
Quest Update
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
(Unit-type of (Dying unit)) Equal to Kobold
Actions
Set Quest_Kobold_Integer = (Quest_Kobold_Integer + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Quest_Kobold_Integer Equal to 10
Then - Actions
Quest - Mark (Last created quest) as Completed
Quest - Change the description of (Last created quest requirement) to <Empty String>
Else - Actions
Quest - Change the description of (Last created quest requirement) to (Kill + ((String((10 - Quest_Kobold_Integer))) + Kobolds))
Ty to answer my question