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 wind effect?
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#3
RE: How to make a wind effect?

(09-03-2012, 01:01 AM)lolmaster Wrote: CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
It might be dust_whirl_large.
Thanks its exactly what I looked for.

But, the script for the activation on colide... I tried this:

void AtStart()
{
AddEntityCollideCallback("Player", "Wind_Activate", "WindBlowing", true, 1);

}

void WindBlowing(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntity("", "ps_dust_whirl.ps", "WindBlow", false);
PlaySoundAtEntity("", "scare_wind.snt", "Player", 0, false); //Works
}

But no particle there.. am I doing something wrong?

[Image: 25F7U37.png]
09-03-2012, 01:44 AM
Website Find


Messages In This Thread
How to make a wind effect? - by Melvin - 09-03-2012, 12:53 AM
RE: How to make a wind effect? - by lolmaster - 09-03-2012, 01:01 AM
RE: How to make a wind effect? - by Melvin - 09-03-2012, 01:44 AM
RE: How to make a wind effect? - by Melvin - 09-03-2012, 02:26 AM



Users browsing this thread: 1 Guest(s)