AIComponent
classnative name AICAgentnative
extends GameComponent › IComponent › IScriptable › ISerializable
Extended by 2 types
Methods 35
native func CancelCommand(cmd: ref<NPCCommand>) -> Bool
native func CancelCommandById(cmdId: Uint32, opt doNotRepeat: Bool) -> Bool
native func CancelOrInterruptCommand(commandName: CName, useInheritance: Bool, success: Bool) -> Bool
native const func DebugLog(category: CName, message: String)
native const func DebugLogEnabled() -> Bool
native func DisableCollider()native func EnableCollider()native func ForceTickNextFrame()native const func GetAIRole() -> ref<AIRole>
native const func GetBehaviorArgument(n: CName) -> Variant
native const func GetCombatMode() -> AIbehaviorCombatModes
native const func GetCombatSpaceSize() -> AICombatSpaceSize
native const func GetCombatSpaceSizeMultiplier() -> Float
native const func GetCommandState(cmd: ref<NPCCommand>) -> AICommandState
public final func GetCurrentReactionPreset() -> wref<ReactionPreset_Record>scripted
native func GetEnqueuedOrExecutingCommand(commandName: CName, useInheritance: Bool) -> ref<NPCCommand>
native const func GetFriendlyFireSystem() -> ref<IFriendlyFireSystem>
native const func GetHighLevelState() -> gamedataNPCHighLevelState
native const func GetLOD() -> Int32
native const func GetLoSFinderSystem() -> ref<ILoSFinderSystem>
native func GetOrCreateBlackboard(definition: ref<BlackboardDefinition>, cache: script_ref<wref<IBlackboard>>) -> ref<IBlackboard>
native const func GetSignals() -> ref<gameBoolSignalTable>
native const func GetStoryTier() -> gameStoryTier
native const func GetUpdateTickCount() -> Uint32
native const func InvokeBehaviorCallback(cbName: CName)
native const func IsCommandExecuting(commandName: CName, useInheritance: Bool) -> Bool
native const func IsCommandWaiting(commandName: CName, useInheritance: Bool) -> Bool
native func SendCommand(cmd: ref<NPCCommand>) -> Bool
native const func SetAIRole(role: ref<AIRole>)
native func SetBehaviorArgument(n: CName, nv: Variant)
native func SetCombatSpaceSize(combatSpaceSize: AICombatSpaceSize)
native func SetCombatSpaceSizeMultiplier(multiplier: Float)
native func StartExecutingCommand(cmd: ref<NPCCommand>) -> Bool
native func StopExecutingCommand(cmd: ref<NPCCommand>, success: Bool) -> Bool
native func StopExecutingCommandById(cmdId: Uint32, success: Bool) -> Bool