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
Creating Particle Systems
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#2
RE: Creating Particle Systems

I'm still in the middle of observing your script, so in the meantime I'll show you a script I used in my story which works just fine.
{
    AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}

void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
    CreateParticleSystemAtEntity("", "ps_dust_push_15", "areawhirl", false);
    PlaySoundAtEntity("", "scare_wind.snt", "Player", 0, false);
}

Just so you know areawhirl is a script area.
(This post was last modified: 04-11-2012, 05:48 PM by Kreekakon.)
04-11-2012, 05:47 PM
Find


Messages In This Thread
Creating Particle Systems - by Twitchez - 04-11-2012, 05:42 PM
RE: Creating Particle Systems - by Kreekakon - 04-11-2012, 05:47 PM
RE: Creating Particle Systems - by Rapture - 04-11-2012, 05:52 PM
RE: Creating Particle Systems - by Twitchez - 04-11-2012, 06:02 PM



Users browsing this thread: 1 Guest(s)