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
Particle System help
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#9
RE: Particle System help

Yeah, and that's why I can't figure out why mine isn't working. I have tried using both areas and entities, both true and false for the bool abSavePS, and it still won't produce the effect.

Do I need to have the particle system present in the map for it to be created? I wouldn't think so, but I am all out of ideas.

Thanks for the help thus far, though.
I just built a small room for the sake of testing this out, and I managed to get the particle system to appear in my test room. I have no idea what is different though. For the test room I used a collide callback with one area, and set it to create the system at another area. The code I used is:

void OnStart()
{
AddEntityCollideCallback("Player", "PS1", "CreateCore", true, 1);
}

void CreateCore(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntity("Core", "ps_orb_light_core.ps", "PS2", true);
}

void OnEnter()
{

}

void OnLeave()
{

}


Any idea why this would work but trying to create the particle system inside of a use item function doesn't?

(This post was last modified: 03-06-2011, 12:44 AM by Anxt.)
03-06-2011, 12:19 AM
Find


Messages In This Thread
Particle System help - by Anxt - 03-04-2011, 08:23 PM
RE: Particle System help - by Tanshaydar - 03-04-2011, 08:40 PM
RE: Particle System help - by Anxt - 03-04-2011, 09:08 PM
RE: Particle System help - by Tanshaydar - 03-04-2011, 10:11 PM
RE: Particle System help - by Anxt - 03-04-2011, 10:15 PM
RE: Particle System help - by Tanshaydar - 03-04-2011, 10:23 PM
RE: Particle System help - by Anxt - 03-04-2011, 10:32 PM
RE: Particle System help - by Tanshaydar - 03-05-2011, 07:26 AM
RE: Particle System help - by Anxt - 03-06-2011, 12:19 AM
RE: Particle System help - by Anxt - 03-06-2011, 04:44 AM
RE: Particle System help - by Tanshaydar - 03-06-2011, 08:36 AM



Users browsing this thread: 1 Guest(s)