[GDT] Event Timers

Gilles

Veteran
Veteran
Joined
Oct 31, 2015
Messages
41
Reaction score
34
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 Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top