REDNODE / GAME API

DetectionMeterEffector

classscriptedClass

extends Effector › IScriptable › ISerializable

Properties 9

NameTypeFlags
currentStacksInt32scriptedprivate
detectionListenerref<CallbackHandle>scriptedprivate
detectionStepFloatscriptedprivate
dontRemoveStacksBoolscriptedprivate
gameInstanceGameInstancescriptedprivate
maxStacksInt32scriptedprivate
onlyHostileDetectionBoolscriptedprivate
ownerIDEntityIDscriptedprivate
statusEffectIDTweakDBIDscriptedprivate

Methods 6

protected func ActionOff(owner: ref<GameObject>)scripted
protected func ActionOn(owner: ref<GameObject>)scripted
protected func Initialize(record: TweakDBID, game: GameInstance, parentRecord: TweakDBID)scripted
protected cb func OnDetectionChanged(newDetection: Float) -> Boolscripted
private final func ProcessStacksChange(stacksChange: Int32)scripted
private final func UpdateWithDetection(newDetection: Float)scripted