Function Arguments Description
ClassName_AiScriptGoalInfo
SetNormalGoal no args
SetTableGoal
ClassName_AiScriptLogicInfo
SetNormalLogic no args
SetTableLogic
ClassName_AiDebugFunc
IsBehaviorTAEFlag
IsExistAnimID
SetBehaviorVariableF32
SetBehaviorVariableInt32
ClassName_AiFunc
REGISTER_GOAL string_GoalName, bool
REGISTER_LOGIC_FUNC string_LogicFuncName, string_Unk, bool
REGISTER_DBG_GOAL_PARAM
REGISTER_GOAL_NO_UPDATE
REGISTER_GOAL_UPDATE_TIME
REGISTER_GOAL_NO_INTERUPT
REGISTER_GOAL_NO_SUB_GOAL
REGISTER_GOAL_USE_AVOID_CHR
ENABLE_COMBO_ATK_CANCEL
PrintText null_sub
AddTopGoal 1
AddTopGoal 2
AddTopGoal 3
AddTopGoal 4
AddTopGoal 5
AddTopGoal 6
AddTopGoal 7
AddTopGoal 8
AddTopGoal 9
GetTopGoal
SetAttackRequest int
StartGuard int
EndGuard no args
StartDash no args
EndDash no args
SetEnableEndureCancel_forGoal
ClearEnableEndureCancel_forGoal
SetEnableStabCounterCancel_forGoal
ClearEnableStabCounterCancel_forGoal
MoveTo enum:TARGET, enum:AI_DIR_TYPE
MoveToEventPoint int:EventEntityId
FollowPath float, enum:AI_DIR_TYPE, float
FollowPath float, enum:AI_DIR_TYPE, float, bool, float
FollowPathToPoint
CheckDoesExistPath
SetEnableUsePath no args
TurnTo int
GetRandam_Float float:Start, float:end
GetRandam_Int int:Start, int:End
SetTimer int[0-10], float
SetNumber int[0-63], float
SetStringIndexedNumber string, float
SetStringIndexedArray
AddTeamRecord
AddTeamTimeRecord
ReqTeam_Support
ClearTeam_Support int[0-1], float
IsApparentAnyFriend
TeamHelp_IsValidCall
TeamHelp_IsValidReply
TeamHelp_ValidateCall
TeamHelp_ValidateReply
TeamHelp_ReserveCall
TeamHelp_Call
TeamHelp_Reply
TeamHelp_GetMinWaitTime
TeamHelp_GetMaxWaitTime
ReqPlatoonState
GetPlatoonState
IsValidPlatoon
GetPlatoonMemberNum
GetPlatoonRanking
GetInsidePlatoonMemberNum
IsPlatoonLeader
GetPlatoonCommand
KickLuaCall
SetEventFlag
IsEventFlag
AddObserveArea
AddObserveRegion
AddObserveChrDmySphere
DeleteObserve
IsInsideObserve
IsInsideTarget
IsInsideTargetEx
IsInsideTarget
IsInsideTargetRegion
GetToTargetAngle
GetRelativeAngleFromTarget
GetAbsoluteAngleFromTarget
GetInterruptStatus
GetAreaObserveSlotNum
GetAreaObserveSlot
IsLockOnTarget
IsInsideMsbRegion
AddObserveObjBreak
DeleteObserveObjBreak
GetObjBreakRate
GetRideObjEntityID
DeleteTeamReacor
SetCurrentMovePointIndex
StepNextMovePoint
ChangeMoveAnimParam
RequestEmergencyQuickTurn
DoEzAction
SetRouteInfoByEntityId
SetMovePointType
SetUserInterupt
Replaning
ChangeWeapon
ChangeEquipMagic
ChangeEquipItem int(goal:GetParam(0))
AddFriendAttackedTarget
ShiftCurrTargetBattleState
SetAIFixedMoveTarget
SetAIFixedMoveTargetSpecifyAngle
MemoryRelativeTarget
SetAiPredictionMoveTargetSpecifyTargetAngle1
SetAiPredictionMoveTargetSpecifyTargetAngle2
SetAiPredictionMoveTargetSpecifyTargetDir
SetEventMoveTarget
GetMsbPartsIdx
IsExistReqObjAct
IsFinishObAct
ClearFinishObjAct
ReserveObjAct
KickEvent
SetPosAngBy1stNearObjDmyId int:ai, int
CalcGetNearestLadderActDmyIdByLadderObj no args
GetLadderActState enum:TARGET
IsLadderAct
CanLadderGoalEnd no args
GetLadderDirMove
IsChrAroundLadderEdge int, int
OnStartLadderGoal
OnUpdateLadderGoal
OnEndLadderGoal no args
SetAllowTriggerNearObjAct
ChkNearCorpsePos int
ChkNearLowHpFriend
GetTeamType enum:TARGET
SetMoveLROnly
SetTurnReferenceDirection
CheckTurnAngleDiff
ResetInitialPosition
ResetInitialPositionByEventRegion
GetActTypeOnNonBattleFailedPathEnd
GetActTypeOnFailedPathEnd
RequestParallelMove
SetPassiveMoveModifier
SetEnableInterrupt_LookedTarget
Mod int, int returns weird value
IsArrived
GetPathResult
HasPathResult
LastPathFindingIsFailed
IsLookToTarget
IsLookToTarget
IsLookToTarget
GetSp enum:TARGET
GetMp enum:TARGET
GetHp enum:TARGET
GetHpRate enum:TARGET
GetDist enum:TARGET or enum:POINT
GetOriginDist enum:TARGET
GetDistY
GetDistYSigned
GetDistXZ
GetDist_Point
GetDistAtoB
GetDistParam enum:DIST
GetMapHitRadius enum:TARGET
GetChrHitRadius enum:TARGET
GetMyBlockID enum:TARGET
IsFinishAttack no args
IsStartAttack no args
IsHitAttack no args
IsEnableComboAttack no args
IsEnableCancelMove no args
IsEnableCancelStep no args
IsEnableCancelAttack no args
GetAttackPassedTime int:AnimationId
IsFinishAttackCoolTime
GetRemainingAttackCoolTime
StartAttackPassedTimer
IsOptimalAttackRangeH
EvaluateAttackRangeH
IsOptimalAttackRangeV
IsOptimalAttackDist
EvaluateAttackDist
IsSearchTarget enum:TARGET
IsInterupt enum:INTERUPT
IsTargetGuard enum:TARGET
IsBothHandMode enum:TARGET
HasParalysis enum:TARGET
HasSpecialEffectAttribute enum:TARGET, enum:SP_EFFECT_TYPE
HasSpecialEffectId enum:TARGET, int:SpEffectId
IsSleepSpecialEffectId
AddObserveSpecialEffectAttribute
DeleteObserveSpecialEffectAttribute
GetSpecialEffectActivateInterruptNum
GetSpecialEffectInactivateInterruptNum
GetSpecialEffectActivateInterruptType
GetSpecialEffectInactivateInterruptType
GetCurrEquipMagicID
GetTimer
IsFinishTimer
StartIdTimer
StartIdTimerSpecifyTime
GetIdTimer
GetNumber int:index[0-63]
GetStringIndexedNumber
GetStringIndexedArray
GetNumFriend
GetEventRequest no args
GetEventRequest
IsEventRequestReceived
GetTeamRecordCount
IsExistTeamRecord
GetTurnAroundOptimizedDirection
GetMovePointNumber
GetPrevMovePointNumber
CalcNearMovePointOnRoute
GetMovePointType
IsInsideMovePoint
GetTeamOrder
GetMovePointEffectRange
IsRouteEnd
IsInsideBattleArea
IsTargetOutOfRangeInterruptSlot
IsTargetOutOfAngleInterruptSlot
GetTargetApproachSpeed
IsNpcPlayer no args
IsLocalPlayer no args
CannotMove no args returns byte
IsRideEdgeFlag
IsRideLargeSpaceFlag
IsHoleFlag
IsApparentDeath
IsBattleState
IsChangeState
IsCautionState
IsFindState
GetChangeBattleStateCount
GetCurrTargetState
GetPrevTargetState
IsExecChangeStateAction
GetChangeStateActionType no args returns 0
GetChangeStateActionParam no args returns 0
GetExcelParam enum:AI_EXCEL_THINK_PARAM_TYPE
GetNpcThinkParamID no args
IsFlying
IsLanding
RequestChangeFlyingState
IsTouchBreakableObject no args
GetEquipWeaponIndex enum:ARM
GetEquipMagicIndex
GetCurrTargetType
IsVisibleCurrTarget
IsOnPath
IsOnNearMesh
IsOnNearMeshByPos
IsExistMeshOnLine
GetExistMeshOnLineDist
GetExistMeshOnLineDistEx
GetExistMeshOnLineDistSpecifyAngle
GetExistMeshOnLineDistSpecifyAngleEx
GetMeshHeight
GetMeshHeightSpecifyAngle
IsExistChrOnLineSpecifyAngle
IsExistChrSelfToTarget
GetReplanningGoalAction
GetReplanningGoalID
IsVisibleTarget
GetLatestSoundTargetID
GetLatestSoundTargetRank
GetLatestAttackedDir
GetDamageLastFrame
HasTopSubgoal
HasGoal
IsActiveGoal
SetIsForceBattleGoal no args
IsForceBattleGoal no args
ClearForceBattleGoal no args
DoAdmirer_ThinkAttr no args returns bool
DoAdmirer_ThinkAttr_ no args returns bool
GetPartsDmg
GetAnimIdOffset
IsThrowing
GetWepCateRight
GetWepCateLeft
DbgSetLastActIdx
DbgGetForceActIdx
DbgAutoRemo_IsWaitCommand
DbgAutoRemo_ResetWaitCommand
DbgAutoRemo_GetWaitCommandTime
SetNonBattleWalkAroundMode
DecideWalkAroundPos
ChangeWalkAroundFreePoint no args
BeginWalkAroundFree no args
EndWalkAroundFree
Debug no args ptr + 0x10
RegisterTriggerRegion
RegisterTriggerRegionCylinder
RegisterTriggerRegionObserver
RemoveTriggerRegionObserver
GetInvadeTriggerRegionCategoryNum
GetLeaveInvadeTriggerRegionCategoryNum
GetInvadeTriggerRegionCategory
GetLeaveInvadeTriggerRegionCategory
RegisterBoidsUnit
RemoveBoidsUnit
IsClanLeader
GetClanMemberNum
HasConnectionReserve
ForceClanFormationMove
SetBoidsCohesionRange
SetBoidsSeparateRange
SetBoidsSearchConnectorRange
SetBoidsSpeedRateRange
ClassName_GoalFunc
GetParam
IsExistParam
GetLife
GetTimer
IsFinishTimer int:TimerIndex
IsFinishTimerForTurnBeforeAtk
GetNumber
GetLastResult
GetLastSubGoalResult
GetSubGoalNum no args
GetBattleGoalId
IsInterruptSubGoalChanged no args
GetLatestAddGoalFunc
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal
AddSubGoal_Front
UpdateSubGoal
ClearSubGoal no args
ClearSeriesSubGoal
SetTimer
SetTimerForTurnBeforeAtk
SetNumber
AddGoalScopedTeamRecord
AdjustDisplacement
AddLifeParentSubGoal float
SetEnableComboAttackCancel
SetFailedEndOption
SetTargetRange
SetTargetRange
SetTargetOriginRange
SetTargetOriginRange
SetTargetAngle
SetTargetAngle
SetLifeEndSuccess
TimingSetNumber
TimingSetTimer
ClassName_AiPlatoonCommand
GetCommandNo
GetParamNum
GetParam
ClassName_AiPlatoonFunc
GetMemberNum
GetMemberAi
SendCommand
SendCommand
SendCommand
SendCommand
SendCommand
SendCommand
SendCommand
SendCommand
SendCommand
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SendCommandAll
SetFormationType
SetFormationParam
SetFormationParam
SetFormationParam
SetFormationParam
SetBaseMoveRate
SetMoveRate
SetEnablePlatoonMove
SetReflectState
PrintText null
ClassName_AiScriptTeamCommandParam
GetParamNum
GetParam
ClassName_AiScriptTeamFormationParam
GetParamNum
GetParam