Answer the question
In order to leave comments, you need to log in
How to create a task in the game?
The question is
there are items that randomly appear on the map, so how to make it so that at the beginning of the game a task was given to search for a specific item, and if he finds it, then the task immediately changes to the same typical one, but with a different item?
Answer the question
In order to leave comments, you need to log in
Suddenly - any functionality is done by writing code.
There is really nothing more to say about your question. Well, you can add that a quest tree is usually made (just like a data structure) with branching depending on the results. Those. make a "quest" entity, it can check its status, and make a container that knows about all branches and can switch the current quest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question