[GDT] Event Timers

Gilles

Veteran
Veteran
Joined
Oct 31, 2015
Messages
41
Reaction score
33
First Language
German



GDT: TimeEvents v1.0
 
Introduction
 


This plugin allows you to set timers for an event. After the timer has passed a selfSwitch of this event is changed to ON or OFF (what you need).


Plugin Commands


* timeevent %timeToPass% %selfSwitchToSetOn% %useGameTime%
*
* - timeToPass: How much time in seconds should pass before the switch status is changed
* - selfSwitchToSetOn: Which Switch should be switched to ON (A,B,C,D): default is A
* - useGameTime: compare against the already played gametime. If not the real time is taken: default is gametime
*
* timeeventoff %timeToPass% %selfSwitchToSetOff% %useGameTime%
*
* - timeToPass: How much time in seconds should pass before the switch status is changed
* - selfSwitchToSetOff: Which Switch should be switched to OFF (A,B,C,D): default is A
* - useGameTime: compare against the already played gametime. If not the real time is taken: default is gametime


Installation-Guide


Just copy the the GDT_Core.js and the GDT_TimeEvents.js plugins into your plugin folder and add it to your plugin list (GDT_Core should be before GDT_TimeEvents)


After this you can use the plugin Commands in you game.


 Download


 
Credit and Thanks
- Gamedev-Tutorials
You can use and edit this plugin as you want. This plugin is open for non commercial and commercial use.  =) 


Demo







 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Writing out an idea for the No Travel Game Jam. I have a general plot and challenge written out, it's just a matter of filling the rest in and making it interesting.
A definite difficult time right now. How is everyone doing during this pandemic? I already have seen furloughs and layoffs.
Hollow 1977 wrote on Archeia's profile.
Hope you and your family are doing well during this difficult time. :)
My elderly neighbor whom I've been buying groceries for just got carried out of his home on a stretcher by guys with hazmat suits. Considering I've been his only point of contact for the past month it's probably safe to say my boss was right to tell me to stay home once I developed a mild cough after all.
Damn. All these new features to the forums. Takes some getting used to.

Forum statistics

Threads
95,642
Messages
930,674
Members
125,963
Latest member
highchloride
Top