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

◆ Event_OnStarted()

override void Hit_MeatBones::Event_OnStarted ( )
inlineprivate

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

52 {
53 super.Event_OnStarted();
54
55 if (m_ImpactType != ImpactTypes.MELEE)
56 {
57 vector in_speed = m_InSpeed * (-1); // Compiler demands to have this variable
58
59 BloodSplatGround( GetPosition(), in_speed , 0.5 );
60
61 if (m_OutSpeed.Length() > 0)
62 {
64 }
65 }
66 }
ImpactTypes
Определения ImpactEffects.c:2
int m_ImpactType
Определения BulletImpactBase.c:12
vector m_OutSpeed
Определения BulletImpactBase.c:18
vector m_ExitPos
Определения BulletImpactBase.c:16
vector m_InSpeed
Определения BulletImpactBase.c:17
void BloodSplatGround(vector start_pos, vector speed_vector, float decay_coef)
Определения Hit_MeatBones.c:68
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки BloodSplatGround(), GetPosition(), EffBulletImpactBase::m_ExitPos, EffBulletImpactBase::m_ImpactType, EffBulletImpactBase::m_InSpeed и EffBulletImpactBase::m_OutSpeed.