MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / InitializeTemplate

Method InitializeTemplate

CrySystem/ScriptObjectParticle.cpp:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void 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

Callers

nothing calls this directly

Calls 1

SetGlobalValueMethod · 0.80

Tested by

no test coverage detected