timeV = 500;
textNumber = timeV;
timeV = timeV - 1;
if(timeV == 0)
{
DestroyTimer("YourTimer");
DestroyActor("YourActor");
}
Rux wrote:Ok first its a WHOLE lot easier just to use a var.
First make a var don't change anything. We'll just call that timeV.
Now on the timer actors create actor,
- Code: Select all
timeV = 500;
This will set the timer to 500 or you could set it to any time you want.
Now on draw actor of the timer,
- Code: Select all
textNumber = timeV;
This will make you timer set its self to the var every frame.
Then create your timer set it to 1000 ms.
Then on the timer event,
- Code: Select all
timeV = timeV - 1;
if(timeV == 0)
{
DestroyTimer("YourTimer");
DestroyActor("YourActor");
}
Good Luck!
Users browsing this forum: No registered users and 1 guest