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 Creating fire
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Creating fire

(01-17-2012, 09:01 PM)Sazureth Wrote: I've tried with with PS's but I'm afraid you're unable to activate those with script?
Yes you can. There's:

void CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
Creates a particle system on an entity.
asPSName - internal name
asPSFile - the particle system to use + extension .ps
asEntity - the entity to create the particle system at
abSavePS - determines whether a particle system should “remember” its state

And:

void DestroyParticleSystem(string& asName);
Destroys a particle system.
(This post was last modified: 01-17-2012, 09:06 PM by Statyk.)
01-17-2012, 09:06 PM
Find


Messages In This Thread
Creating fire - by Sazureth - 01-17-2012, 09:01 PM
RE: Creating fire - by Statyk - 01-17-2012, 09:06 PM



Users browsing this thread: 1 Guest(s)