• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Quest system reliable on global variables?

D

Doooooli

Guest
Is it possible to make a decent quest system with global variables? something like this:

(ini file)

global.questaccepted = 0;
global.questitems = 0;
global.questreadytoturnin = false;

Let's say you accept a quest from an npc

global.questaccepted = 1;

if global.questitems = 5 && global.questaccepted = 1
{
global.questreadytoturnin = true;
}

You get the point, is it possible or what way is the smartest to make a quest system? :)

thx
 
Top