class
AimAtTargetCommandTask
- 7 properties
- 4 functions
Extends AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
inCommand | AIArgumentMapping? | 0x0 | scripted |
currentCommand | WeakHandle<AIAimAtTargetCommand> | 0x10 | scripted |
threatPersistenceSource | game.data.AIThreatPersistenceSource_Record? | 0x20 | scripted |
activationTimeStamp | float | 0x30 | scripted |
commandDuration | float | 0x34 | scripted |
target | WeakHandle<game.Object> | 0x38 | scripted |
targetID | ent.EntityID | 0x48 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "AimAtTargetCommandTask", "Activate;ScriptExecutionContext", (AimAtTargetCommandTask_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimAtTargetCommandTask_Activate( AimAtTargetCommandTask self, AIbehaviorScriptExecutionContext context );AIbehaviorUpdateOutcome Update(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.Place( "AimAtTargetCommandTask", "Update;ScriptExecutionContext", (AimAtTargetCommandTask_Update x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorUpdateOutcome>(); } ); [Msgpack.Gen] public readonly partial record struct AimAtTargetCommandTask_Update( AimAtTargetCommandTask self, AIbehaviorScriptExecutionContext context );void Deactivate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "AimAtTargetCommandTask", "Deactivate;ScriptExecutionContext", (AimAtTargetCommandTask_Deactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimAtTargetCommandTask_Deactivate( AimAtTargetCommandTask self, AIbehaviorScriptExecutionContext context );void CancelCommand(AIbehaviorScriptExecutionContext context)RTTIre.Hooks.PlaceVoid( "AimAtTargetCommandTask", "CancelCommand;ScriptExecutionContext", (AimAtTargetCommandTask_CancelCommand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimAtTargetCommandTask_CancelCommand( AimAtTargetCommandTask self, AIbehaviorScriptExecutionContext context );