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

◆ EOnInit()

override void DayZInfected::EOnInit ( IEntity other,
int extra )
inlineprotected

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

93 {
94 if ( !g_Game.IsMultiplayer() || g_Game.IsServer() )
95 {
96 m_StanceVariation = Math.RandomInt(0, 4);
97
98 DayZInfectedCommandMove moveCommand = GetCommand_Move();
99 moveCommand.SetStanceVariation(m_StanceVariation);
100 }
101 }
DayZGame g_Game
Определения DayZGame.c:3942
int m_StanceVariation
server / singleplayer properties
Определения ZombieBase.c:10

Перекрестные ссылки g_Game, m_StanceVariation и Math::RandomInt().