REDNODE / GAME API

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

NameTypeFlags
gunStateInt32scriptedpublic
originalAttachLeftBoolscriptedpublic
originalAttachRightBoolscriptedpublic
overrideLookAtEventsarray<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