B
B
Bezzy2018-05-21 11:17:08
C++ / C#
Bezzy, 2018-05-21 11:17:08

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

1 answer(s)
G
GavriKos, 2018-05-21
@Bezzy

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 question

Ask a Question

731 491 924 answers to any question