GameCrowdBehavior_RunFromPanic
Class in GameFramework · GameFramework.GameCrowdBehavior_RunFromPanic · native, placeable
Object › GameCrowdAgentBehavior › GameCrowdBehavior_RunFromPanic
Using it from Lua
h7.find_all("GameCrowdBehavior_RunFromPanic") -- live instances
h7.find_class("GameFramework.GameCrowdBehavior_RunFromPanic") -- the class
h7.hook("GameFramework.GameCrowdBehavior_RunFromPanic.ActivatedBy", fn)
Properties
| Name | Type | Notes |
PanicFocus | Actor | transient |
Functions
| Name | Declaration |
ActivatedBy | function ActivatedBy(Actor NewActionTarget) |
AllowBehaviorAt | function bool AllowBehaviorAt(GameCrowdDestination Destination) |
AllowThisDestination | function bool AllowThisDestination(GameCrowdDestination Destination) |
GetBehaviorInstigator | function Actor GetBehaviorInstigator() |
GetBehaviorString | function string GetBehaviorString() |
InitBehavior | function InitBehavior(GameCrowdAgent Agent) |
StopBehavior | function StopBehavior() |
Default values
bIsViralBehavior=TRUE
MaxPlayerDistance=20000.0
MyEventType=CBE_Panic
ViralBehaviorEvent=CBE_Alert
DebugBehaviorColor=(R=255,G=0,B=0)
Inherited