REDNODE / GAME API

ScriptedReactionSystem

classscriptedClass

extends ScriptableSystem › IScriptableSystem › IScriptable › ISerializable

Properties 5

NameTypeFlags
callInActionBoolscriptedprivate
fleeingNPCsInt32scriptedprivate
policeCallerwref<Entity>scriptedprivate
registeredTimeoutFloatscriptedprivate
runnersarray<wref<Entity>>scriptedprivate

Methods 10

public final const func GetFleeingNPCsCount() -> Int32scripted
public final const func GetFleeingNPCsCountInDistance(position: Vector4, distance: Float) -> Int32scripted
public final const func GetRegisterTimeout() -> Floatscripted
public final const func IsCaller(entity: ref<Entity>) -> Boolscripted
private final func IsCallerCloser(newCaller: ref<Entity>, crimePosition: Vector4) -> Boolscripted
private final func IsRegistered(runner: ref<Entity>) -> Boolscripted
private final func OnRegisterFleeingNPC(request: ref<RegisterFleeingNPC>)scripted
private final func OnRegisterPoliceCaller(request: ref<RegisterPoliceCaller>)scripted
private final func OnUnregisterFleeingNPC(request: ref<UnregisterFleeingNPC>)scripted
private final func OnUnregisterPoliceCaller(request: ref<UnregisterPoliceCaller>)scripted