Game Development Community

Player Cloaking

by Supernova · in Technical Issues · 04/20/2009 (1:25 pm) · 2 replies

Hi,

I recently wrote a Cloaking script for a Torque trial engine. I was just wondering how I would make a timer for say 1 second, and at the end of the timer minus energy point? Can someone help me out with some code?

#1
04/20/2009 (1:49 pm)
Schedule is the function your looking for. It allows you to call a function after N seconds.

HTH
#2
04/20/2009 (2:06 pm)
Cool thanks!