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
Script Help Particle Effects help
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Particle Effects help

You cannot set particle systems active like SetEntityActive("ParticleSystem_17", true); as they are not entities.

Try this and tell me what the error that comes up says:
void OnStart()
{
...
AddEntityCollideCallback("Player", "ScriptArea_4", "staub", true, 1);
...
}


void staub(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "28_done03.snt", "Player", 0, false);
CreateParticleSystemAtEntity("E1PS", "ps_debris_tunnel.ps", "ScriptArea_4", true);
}

As well, it would help to post your whole hps here.
01-03-2013, 07:56 PM
Find


Messages In This Thread
Particle Effects help - by Smackdown - 01-03-2013, 07:24 PM
RE: Particle Effects help - by Statyk - 01-03-2013, 07:38 PM
RE: Particle Effects help - by Smackdown - 01-03-2013, 07:46 PM
RE: Particle Effects help - by Statyk - 01-03-2013, 07:56 PM
RE: Particle Effects help - by Smackdown - 01-03-2013, 08:10 PM
RE: Particle Effects help - by Statyk - 01-03-2013, 08:22 PM
RE: Particle Effects help - by Smackdown - 01-03-2013, 08:26 PM
RE: Particle Effects help - by Statyk - 01-03-2013, 08:43 PM
RE: Particle Effects help - by Smackdown - 01-03-2013, 08:57 PM
RE: Particle Effects help - by Statyk - 01-03-2013, 09:36 PM
RE: Particle Effects help - by Smackdown - 01-03-2013, 09:55 PM
RE: Particle Effects help - by NaxEla - 01-04-2013, 12:21 AM
RE: Particle Effects help - by Smackdown - 01-04-2013, 11:42 AM



Users browsing this thread: 2 Guest(s)