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

◆ OnAnimationPhaseStarted()

override void Land_WarheadStorage_PowerStation::OnAnimationPhaseStarted ( string animSource,
float phase )
inlineprotected

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

289 {
290 #ifndef SERVER
291 #ifndef NO_GUI
292 if (animSource.Contains("lever"))
293 {
294 if (phase > 0)
295 PlayLeverSound(animSource, 0);
296 else
297 PlayLeverSound(animSource, 1);
298 }
299 #endif
300 #endif
301 }
void PlayLeverSound(string leverName, int state)
bool Contains(string sample)
Returns true if sample is substring of string.
Определения EnString.c:286

Перекрестные ссылки string::Contains() и PlayLeverSound().