lookAtPresetGunBaseEvents
classscriptedClass
extends LookAtPresetBaseEvents › DefaultTransition › StateFunctor › IScriptable › ISerializable
Extended by 11 types
AssualtRifleLookAtEvents HandgunLookAtEvents HmgLookAtEvents LmgLookAtEvents PrecisionRifleLookAtEvents RevolverLookAtEvents RifleLookAtEvents ShotgunDualLookAtEvents ShotgunLookAtEvents SmgLookAtEvents SniperRifleLookAtEvents
Properties 4
| Name | Type | Flags |
|---|---|---|
gunState | Int32 | scriptedpublic |
originalAttachLeft | Bool | scriptedpublic |
originalAttachRight | Bool | scriptedpublic |
overrideLookAtEvents | array<ref<LookAtAddEvent>> | scriptedpublic |
Methods 5
public func OnEnter(stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
public func OnExit(stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
public func OnForcedExit(stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
protected final func OnUpdate(timeDelta: Float, stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
public final func SetGunState(scriptInterface: ref<StateGameScriptInterface>, newGunState: Int32)scripted