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

◆ SetDeployed()

void ItemBase::SetDeployed ( bool newState)
inlineprotected

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

175 {
176 m_IsDeployed = newState;
177
178 if ( newState == true )
179 {
181 {
182 SetAnimationPhase( m_AnimationPhaseSet, 1 );
183 SetAnimationPhase( m_AnimationPhaseTriggered, 0 );
184 SetAnimationPhase( m_AnimationPhaseUsed, 1 );
185 }
186 }
187 else
188 {
190 {
191 SetAnimationPhase( m_AnimationPhaseSet, 0 );
192 SetAnimationPhase( m_AnimationPhaseTriggered, 1 );
193 SetAnimationPhase( m_AnimationPhaseUsed, 1 );
194 }
195 }
196
197 SetSynchDirty();
198 }
bool m_IsDeployed
Определения TrapSpawnBase.c:35
string m_AnimationPhaseTriggered
Определения TrapSpawnBase.c:40
string m_AnimationPhaseSet
Определения TrapSpawnBase.c:39
string m_AnimationPhaseUsed
Определения TrapSpawnBase.c:41

Перекрестные ссылки m_AnimationPhaseSet, m_AnimationPhaseTriggered, m_AnimationPhaseUsed и m_IsDeployed.

Используется в OnStoreLoad(), SetInactive() и SetupTrapPlayer().