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

◆ EOnInit()

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

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

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

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