QUEST SETUP
Re: QUEST SETUP
The link you gave to the How To: Set Up Quests Without Conversations, see my image.
I put the destroy and increment GO on my enemy.
Where sjhould i put the trigger component, becuase this just for that one enemy but your example showsif there is 5 enemies
I put the destroy and increment GO on my enemy.
Where sjhould i put the trigger component, becuase this just for that one enemy but your example showsif there is 5 enemies
Re: QUEST SETUP
If the requirement is to kill only one enemy, you can put the Dialogue System Trigger on the same GameObject as the Increment On Destroy component.
Re: QUEST SETUP
I did that,
When i kill my enemy AI nothing happens in regards to quest?
When i kill my enemy AI nothing happens in regards to quest?
Re: QUEST SETUP
Did you connect the Increment On Destroy component's OnIncrement() event to the Dialogue System Trigger's OnUse method? And does the Dialogue System Trigger set the quest state to success?
Re: QUEST SETUP
Hey Toni
This part i did not do:
Did you connect the Increment On Destroy component's OnIncrement() event to the Dialogue System Trigger's OnUse method
Rest was done. But still no completed quest when i kill my ai.
Do i need to set the increment to 1? It is on 0 now
This part i did not do:
Did you connect the Increment On Destroy component's OnIncrement() event to the Dialogue System Trigger's OnUse method
Rest was done. But still no completed quest when i kill my ai.
Do i need to set the increment to 1? It is on 0 now
Re: QUEST SETUP
Yes, set the increment to 1 and connect OnIncrement() to the Dialogue System Trigger's OnUse method.
Re: QUEST SETUP
Is it because the actual enemy/ GameObject has to disappear from scene?
Because he is not removed Immediately when he dies.
Cheers?
Because he is not removed Immediately when he dies.
Cheers?
-
- Posts: 1
- Joined: Thu Nov 25, 2021 3:12 pm
Re: QUEST SETUP
this post is really helpful for me thank you for sharing
b2b spice myfiosgateway com
b2b spice myfiosgateway com
Last edited by benettonb1 on Wed Dec 08, 2021 2:33 am, edited 1 time in total.
Re: QUEST SETUP
Yes, that's probably the reason. Remember that, in this case, you need to configure your death event to call IncrementOnDestroy.TryIncrement.
I'm glad you find it helpful! Make sure to look over See: How To: Set Up Quests Without Conversations, which has screenshots and a detailed explanation of how to set up quests like kill quests and collection quests.