◆ OnEntry()
201 {
204 {
208 {
209 float a;
212 {
213 case 0:
215 break;
216 case 1:
220 break;
221 case 2:
223 break;
224 case 3:
226 break;
227 case 4:
229 break;
230 case 5:
232 break;
233 }
234 cylinder.SetAnimationPhase(
"Rotate_Cylinder", a );
235 ejector.SetAnimationPhase(
"Rotate_Ejector", a );
236 }
237 }
238 }
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Definition Guards.c:604
const float MAGNUM_ROTATION_POSITION_2
Definition Magnum.c:4
const float MAGNUM_ROTATION_POSITION_1
Definition Magnum.c:3
const float MAGNUM_ROTATION_POSITION_3
Definition Magnum.c:5
const float MAGNUM_ROTATION_POSITION_4
Definition Magnum.c:6
const float MAGNUM_ROTATION_POSITION_6
Definition Magnum.c:8
const float MAGNUM_ROTATION_POSITION_5
Definition Magnum.c:7
const float MAGNUM_ROTATION_POSITION_0
Definition Magnum.c:2
Перекрестные ссылки m_weapon, MAGNUM_ROTATION_POSITION_0, MAGNUM_ROTATION_POSITION_1, MAGNUM_ROTATION_POSITION_2, MAGNUM_ROTATION_POSITION_3, MAGNUM_ROTATION_POSITION_4, MAGNUM_ROTATION_POSITION_5 и MAGNUM_ROTATION_POSITION_6.
◆ OnExit()
255 {
259 }
class WeaponFireWithEject extends WeaponFire m_dtAccumulator
Перекрестные ссылки m_dtAccumulator.
◆ OnUpdate()
241 {
243
246
250 if (
m_weapon.CanProcessWeaponEvents())
251 m_weapon.ProcessWeaponEvent(
new WeaponEventReloadTimeout(
p));
252 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition DayZPlayerImplement.c:111
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), m_dtAccumulator и m_weapon.
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Entities/Firearms/FSM/States/WeaponFire.c