DayZ 1.27
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 if (animSource.Contains("lever"))
292 {
293 if (phase > 0)
294 PlayLeverSound(animSource, 0);
295 else
296 PlayLeverSound(animSource, 1);
297 }
298 #endif
299 }
void PlayLeverSound(string leverName, int state)
bool Contains(string sample)
Returns true if sample is substring of string.
Определения EnString.c:286

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