REDNODE / GAME API

PrereqState

classnative name gamePrereqStatenativeimportOnly

extends IScriptable › ISerializable

Extended by 89 types

AlwaysTruePrereqState ArmsCWInSlotPrereqState AttitudePrereqState BlackboardPrereqState CanPlayerHijackMountedNpcPrereqState CharacterDataPrereqState ChargedItemsPrereqState ConsumableChargesPrereqState CurrentTargetPrereqState DialogueChoiceHubPrereqState DismembermentTriggeredPrereqState EntitiesWithStatusEffectPrereqState EntityHasVisualTagPrereqState EntityIDArrayPrereqState EntityNoticedPlayerPrereqState EquippedPrereqState FactValuePrereqState gameTierPrereqState GameTimePrereqState gameVisionModePrereqState GenericHitPrereqState HasDialogVisualizerVisiblePrereqState InventoryPrereqState InvestedPerksPrereqState IsHumanPrereqState IsMountedByPreventionNPCPrereqState IsNewPerkBoughtPrereqState IsNpcMountedInSlotPrereqState IsNpcPlayingMountingAnimationPrereqState IsPlayerControlsDevicePrereqState IsPlayerMovingPrereqState IsPlayerOnGroundPrereqState IsPlayerPrereqState IsPlayerReachablePrereqState IsPuppetActivePrereqState IsPuppetBreachedPrereqState IsVehicleDoorLockedState IsVehicleDoorQuestLockedState IsVisualizerActivePrereqState ItemInSlotPrereqState ItemSlotsFilledPrereqState MultiPrereqState NotPrereqState NPCAttitudeTowardsPlayerPrereqState NPCDetectingPlayerPrereqState NPCHitReactionTypePrereqState NPCHitSourcePrereqState NPCInScenePrereqState NPCIsAggressiveState NPCLocomotionTypePrereqState NPCRarityPrereqState NPCReactionPresetPrereqState NPCRecordHasVisualTagState NPCRevealedPrereqState NPCStatePrereqState NPCTrackingPlayerPrereqState OnOffPrereqState PerkPrereqState PlayerCombatStateTimePrereqState PlayerDoesntHaveQuickhackPrereqState PlayerDoesntHaveRecipePrereqState PlayerElevationPrereqState PlayerIsNewPerkBoughtPrereqState PlayerProximityPrereqState PlayerStateMachinePrereqState PuppetMortalPrereqState RandomChancePrereqState RarityOfEquippedConsumableItemPrereqState RarityOfEquippedCyberdeckPrereqState ReloadFromEmptyPrereqState RevealAccessPointPrereqState RPGPrereqState SetChancePrereqState SkillCheckPrereqState StartedUsingHealingItemOrCyberwarePrereqState StatCheckPrereqState StatPoolChangeOverTimePrereqState StatPoolPrereqState StatPoolPrereqState StatPoolSpentPrereqState StatPrereqState StatusEffectPrereqState TemporalPrereqState UsedHealingItemOrCyberwarePrereqState WasScannedPrereqState WeaponFirstReloadStatePrereqState WeaponShootPrereqState WeaponStateMachinePrereqState WoundedTriggeredPrereqState

Methods 5

native const func GetContext() -> ref<IScriptable>
native const func GetPrereq() -> ref<IPrereq>
native const func IsFulfilled() -> Bool
native func OnChanged(newState: Bool)
native func OnChangedRepeated(opt callOnlyOnStateFulfilled: Bool)