SmasherPlayVFX
classscriptedClass
extends AIScriptTask › AIBehaviorScriptBase › IScriptable › ISerializable
Properties 10
| Name | Type | Flags |
|---|---|---|
attachmentSlotName | CName | scriptedprivate |
delay | Float | scriptedprivate |
effectToKill | CName | scriptedprivate |
fxDirection | ref<AIArgumentMapping> | scriptedprivate |
KillFx | Bool | scriptedprivate |
owner | wref<GameObject> | scriptedprivate |
startTime | Float | scriptedprivate |
vfxInstance | ref<FxInstance> | scriptedprivate |
vfxOffset | Vector3 | scriptedprivate |
vfxResource | FxResource | scriptedprivate |
Methods 5
protected func Activate(context: ScriptExecutionContext)scripted
private final func CreateFxInstance(context: ScriptExecutionContext, resource: FxResource, transform: WorldTransform) -> ref<FxInstance>scripted
protected func Deactivate(context: ScriptExecutionContext)scripted
private final func SpawnVFX(context: ScriptExecutionContext, fx: FxResource, fxPosition: Vector4, fxDirection: Vector4)scripted
protected func Update(context: ScriptExecutionContext) -> AIbehaviorUpdateOutcomescripted