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
Drill, Exposy, Particles :(
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Drill, Exposy, Particles :(

Place a script area where you want the particle to appear. It will spawn in the center of it. Rotate the area as you want.

In the script you simply call the Create script when you want it to appear. When you want it to disappear, call the Destroy script.

You can look at particles in the Particle Editor. Once you have found the one you want to use, make note of the file name, then input it in the Create line.
PHP Code: (Select All)
CreateParticleSystemAtEntity("particle""ps_file.ps""AreaName"false); 
This is an example. It creates the ps_file.ps particle at AreaName and calls it particle. The last parameters is just whether to save its state. Once you want this particle gone, do:
PHP Code: (Select All)
DestroyParticleSystem("particle"); 
This time you only need the name you put before.

(This post was last modified: 09-30-2014, 02:46 PM by Mudbill.)
09-30-2014, 02:45 PM
Find


Messages In This Thread
Drill, Exposy, Particles :( - by Amnesiaplayer - 09-29-2014, 07:34 PM
RE: Drill, Exposy, Particles :( - by Mudbill - 09-30-2014, 02:45 PM
RE: Drill, Exposy, Particles :( - by Neelke - 09-30-2014, 03:44 PM
RE: Drill, Exposy, Particles :( - by Radical Batz - 09-30-2014, 07:37 PM



Users browsing this thread: 1 Guest(s)