Entity/PreLoadParticleEffect

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article


This is an Entity function

Function

PreLoadParticleEffect(sEffectName)
Called to speed up LoadParticleEffect - ensures that the effect file has been loaded
example - Golf/Start
self.ball:PreLoadParticleEffect("golf_fx.ball_trail_white");


Other examples
  • Game\Scripts\Entities\Particle\ParticleEffect.lua
  • Game\Scripts\Entities\Physics\Explosion.lua
  • Game\Scripts\Entities\Physics\ExplosiveObject.lua
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools