Jump to content

Timers.zh

Overview
Creator: ZoriaRPG Updated: 24 Sep 2014 Tags: Global, Library Downloads: 17
Rating[?]: Rating: 1/5 (2 ratings)
View Script Download Script
(5.58 KB)
Information

Description Setup Reviews Comments

Timers.zh is intended for users of any level of experience, but it would be best for users who understand how constants work, and how to implement functions in other code.

This library file includes one array, with an index size of '10', and assigns dummy constants to each of these ten elements. You will need to modify this to suit the needs of your game.

Otherwise, the main functions run inside any type of loop (e.g. the main while(true) loop of your global active script), and the functions to set, or re-set the timer, or to check the timer values, can be called from anywhere. This code includes an example global active script.