REDNODE / GAME API

PlayerStateMachinePrereq

classscriptedClass

extends IScriptablePrereq › IPrereq › IScriptable › ISerializable

Extended by 20 types

BodyCarryingPSMPrereq BodyDisposalPSMPrereq CombatPSMPrereq DetailedLocomotionPSMPrereq FallPSMPrereq HighLevelPSMPrereq IsInFocusModePSMPrereq IsInWorkspotPSMPrereq IsPlayerMovingPrereq LocomotionPSMPrereq MeleePSMPrereq MeleeWeaponPSMPrereq RangedWeaponPSMPrereq SwimmingPSMPrereq TakedownPSMPrereq TimeDilationPSMPrereq UpperBodyPSMPrereq UsingCoverPSMPrereq VehiclePSMPrereq ZonesPSMPrereq

Properties 4

NameTypeFlags
isInStateBoolscriptedprivate
previousStateBoolscriptedprivate
skipWhenAppliedBoolscriptedprivate
valueToListenInt32scriptedpublic

Methods 6

public const func Evaluate(owner: ref<GameObject>, newValue: Int32, prevValue: Int32) -> Boolscripted
protected const func GetCurrentPSMStateIndex(bb: ref<IBlackboard>) -> Int32scripted
protected const func GetStateMachineEnum() -> Stringscripted
protected func Initialize(recordID: TweakDBID)scripted
public const func IsFulfilled(game: GameInstance, context: ref<IScriptable>) -> Boolscripted
protected const func OnApplied(state: ref<PrereqState>, game: GameInstance, context: ref<IScriptable>)scripted