The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Particle System help

Hi, new to these forums, sorry if I am making a duplicate thread here, but I couldn't find a solution to the specific problem I am having with particle systems.

I have been attempting to add particle effects to my map when a particular action is taken (in this case, using an item on an entity). I have:

CreateParticleSystemAtEntity("E1PS", "ps_orb_light_core.ps", "PSE1", true);

I know my names are meaningless, but its exactly how it is worded in my code, maybe there's a typo I don't see.

Yet upon using the action, no particle effects are generated. I have preloaded the one I want, and I have the Create function inside the function that is called when the player uses the item.

Anyone know why it isn't being created? I have tried other methods as well, such as generating a PS inside a script area, but that failed as well.

Thanks in advance for the help.

P.S.(no pun intended Smile) I have also noticed that if I place a particle system in a map, and set it to inactive inside the level editor, it remains active when in the game. Why is that?

03-04-2011, 08:23 PM
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)