Time Length On Quests
Time Length On Quests
I've watched the quest system from the older videos and have one setup now. I was wondering if there was a way, when someone finishes a quest, that you can put a time limt on when they can begin another quest? I might could figure this out with just a regular php variable, but the quests are in a while loop to echo them out in the game and I have no idea how I would implement such a thing when it's calling the quests from the database.
Re: Time Length On Quests
Hello, why not just store a 'last_quest_finished' timestamp and during the loop,
add an if to the quest echos by checking the timestamp if its enough old to allow the player to start another quest..
add an if to the quest echos by checking the timestamp if its enough old to allow the player to start another quest..
Why so serious?
Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender
Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender