- 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
- Plugin: GDT_Core
- Plugin: GDT_TimeEvents (needs GDT_Core)
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
