Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
→Script for a quest with time limit by LukeH 17:37, 13 April 2012 (EDT)
imported>LukeH No edit summary |
imported>LukeH |
||
| Line 706: | Line 706: | ||
GlobalVariable Property GlobalTime auto ;counter for hours left | GlobalVariable Property GlobalTime auto ;counter for hours left | ||
Quest Property TimedQuest auto ;the quest (I used two scripts on same quest while cause I modified a vanilla one) | Quest Property TimedQuest auto ;the quest (I used two scripts on same quest while cause I modified a vanilla one) | ||
int Property FailObjective auto ;objective that will fail when hours left reaches 0 | int Property FailObjective auto ;objective that will fail when hours left reaches 0, it is the one to display the time left and will be refreshed | ||
int Property FailStage auto ;stage to set the quest to, | int Property FailStage auto ;stage to set the quest to, fail whole quest from it's fragment or whatever | ||
Float endTime | Float endTime | ||