DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ParticleTest()

void ItemBase::ParticleTest ( )
inlineprotected

См. определение в файле ParticleTest.c строка 9

10 {
11 if ( !g_Game.IsServer() || !g_Game.IsMultiplayer() ) // Client side
12 {
13 string path = ParticleList.GetPathToParticles();
14
15
16
17
18
19 // Enter particle ID to play when ParticleTest spawns
20 PARTICLE_PATH = ParticleList.DEBUG_DOT;
21
22 // Alternatively, uncomment the second line and enter particle filename without *.ptc suffix instead. Example: "menu_engine_fire"
23 string particle_filename = "menu_engine_fire";
24 //PARTICLE_PATH = ParticleList.GetParticleID( path + particle_filename );
25
26
27
28
29
30 m_Particle = ParticleManager.GetInstance().PlayOnObject( PARTICLE_PATH, this, GetPosition());
31 }
32 }
DayZGame g_Game
Определения DayZGame.c:3942
string path
Определения OptionSelectorMultistate.c:142
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
Particle m_Particle
Определения ParticleTest.c:6
int PARTICLE_PATH
Определения ParticleTest.c:5
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки ParticleList::DEBUG_DOT, g_Game, ParticleList::GetPathToParticles(), GetPosition(), m_Particle, PARTICLE_PATH, ParticleManager() и path.