Storyline progression.

I have a quick question, although i hope to get an in-depth discussion on techniques any single sentence is cool by me. Also for the moderator, if this is in the wrong section please move it.

I know how lots of parts of a game are made (scripting wise) but my major brain bust is how do I do a story progression. I am not actively developing a game, but I understand instancing, scripts to control movement and so on. I cannot seem to grasp the concept on how you have storyline progression (like questing, or not being allowed in an area until you have some other prerequisits finieshed, eg finisehd a quest to get a powerful sword to be able to enter an arena).

Do you have like global variable for each quest and then check if it is finished, or is it something more advanced?

It’s all based on your style and what your trying to do, like a lot of many thing there isn’t just one way to do it, but yes your right it requires A LOT of coding. And this may be in the wrong section, I’m not sure.

So does that mean that lets say a quest is 10 series of events, i have to have a Boolean for each event in the series and then check to see if all of them are finished before I can give the reward or something like that?

Simplest i think would be to have some kind of quest manager that keeps track of all your quests, then other scripts can ask that one if a certain quest is done or what stage its currently in.

Hi,

Please could you have a look at this

http://forum.unity3d.com/threads/173984-Quest-and-Dialog-editor-for-games-developers

Cheers
Cobus