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

◆ RegisterAnimEvents()

void DayZCreature::RegisterAnimEvents ( )
inlineprotected

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

297 {
298 if(!RegisterAnimationEvent("Sound", "OnSoundEvent"))
299 {
300 Print("Error registering anim. event (Sound)");
301 }
302
303 if(!RegisterAnimationEvent("SoundVoice", "OnSoundVoiceEvent"))
304 {
305 Print("Error registering anim. event (SoundVoice)");
306 }
307
308 if(!g_Game.IsDedicatedServer())
309 {
310 if(!RegisterAnimationEvent("Step", "OnStepEvent"))
311 {
312 Print("Error registering anim. event (Step)");
313 }
314 }
315
316 if(!RegisterAnimationEvent("Damage", "OnDamageEvent"))
317 {
318 Print("Error registering anim. event (Damage)");
319 }
320 }
class DayZCreatureAnimInterface RegisterAnimationEvent(string event_name, string function_name)
DayZGame g_Game
Определения DayZGame.c:3942
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки g_Game, Print() и RegisterAnimationEvent().

Используется в DayZCreatureAI().