Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a break???
Hooumeri Offline
Member

Posts: 57
Threads: 11
Joined: Oct 2010
Reputation: 0
#5
RE: How to make a break???

(11-08-2010, 02:43 PM)Everlone Wrote: it wont work. no matter what i try, it crashed.

where i set the time???

Here is an example for you

void [what ever your using as Collide](string &in asParent, string &in asChild, int alState)
{
AddTimer("Put here the name of your timer, it wont matter what you call it",(Put here the time you want until the timer is activated, for example 1.5f. use f as the "unit". remember no quotations here "".) "And place here the area when what triggers the timer (I'm not 100% what to place here, but I've placed this and it always has worked));
}

for example AddTimer("Agrippakatoaa_01",3.5f,"Agrippakatoaa1");
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Now lets tell the game what it should do when the timer is activated (activation happens in 1,5secs, in my occasion)
This is one of my timers: It creates an particle system to my entity. You can insert what ever you wish inside the { }

void Agrippakatoaa_01(string &in asTimer)
{
CreateParticleSystemAtEntity("ps_fire_smoke_epoxy", "ps_fire_smoke_epoxy.ps", "TuliArea_13", false);

AddTimer("Agrippakatoaa_02",3.5f,"Agrippakatoaa2"); ///////////////Now this is just me adding another timer that kicks in after this. Of course you could make it so that it repeats the timer unlimited times, by doing this
}

Hope I cleared things up :p
(This post was last modified: 11-08-2010, 03:04 PM by Hooumeri.)
11-08-2010, 02:58 PM
Find


Messages In This Thread
How to make a break??? - by Everlone - 11-08-2010, 12:20 PM
RE: How to make a break??? - by anzki - 11-08-2010, 12:51 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 02:43 PM
RE: How to make a break??? - by anzki - 11-08-2010, 02:53 PM
RE: How to make a break??? - by Hooumeri - 11-08-2010, 02:58 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:01 PM
RE: How to make a break??? - by Hooumeri - 11-08-2010, 03:06 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:12 PM
RE: How to make a break??? - by anzki - 11-08-2010, 03:19 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:26 PM



Users browsing this thread: 1 Guest(s)