| 33 | } |
| 34 | |
| 35 | void CScriptObjectParticle::InitializeTemplate(IScriptSystem *pSS) |
| 36 | { |
| 37 | _ScriptableEx<CScriptObjectParticle>::InitializeTemplate(pSS); |
| 38 | REG_FUNC(CScriptObjectParticle,CreateParticle); |
| 39 | REG_FUNC(CScriptObjectParticle,CreateParticleLine); |
| 40 | REG_FUNC(CScriptObjectParticle,SpawnEffect); |
| 41 | REG_FUNC(CScriptObjectParticle,CreateDecal); |
| 42 | REG_FUNC(CScriptObjectParticle,Attach); |
| 43 | REG_FUNC(CScriptObjectParticle,Detach); |
| 44 | |
| 45 | pSS->SetGlobalValue("CRYPARTICLE_ONE_TIME_SPAWN",CryParticleSpawnInfo::FLAGS_ONE_TIME_SPAWN); |
| 46 | pSS->SetGlobalValue("CRYPARTICLE_RAIN_MODE",CryParticleSpawnInfo::FLAGS_RAIN_MODE); |
| 47 | |
| 48 | } |
| 49 | |
| 50 | /*!create a particle source |
| 51 | @param v3Pos a table with the x,y,z fileds specifing the origin of the particle source |
nothing calls this directly
no test coverage detected