27 .alertRadius = 120.0f,
28 .alertOffsetDist = 120.0f,
29 .playerSearchInterval = 2,
31 .chaseRadius = 150.0f,
32 .chaseOffsetDist = 150.0f,
41 Call(N(RangedAttackAI_Main),
Ref(N(AISettings_DryBones)))
49 .level = ACTOR_LEVEL_DRY_BONES,
50 .ai = &N(EVS_NpcAI_DryBones),
58 .alertOffsetDist = 0.18f,
59 .playerSearchInterval = -1,
67 Call(N(ProjectileAI_Main),
Ref(N(AISettings_ThrownBone)))
78 Call(N(GetEncounterEnemyIsOwner))
88 Call(N(ProjectileAI_Reflect))
113 .ai = &N(EVS_NpcAI_ThrownBone),
114 .onHit = &N(EVS_NpcHit_ThrownBone),
115 .onDefeat = &N(EVS_NpcDefeat_ThrownBone),
@ ENCOUNTER_TRIGGER_HAMMER
@ ENCOUNTER_TRIGGER_PARTNER
ApiStatus GetNpcPos(Evt *script, b32 isInitialCall)
ApiStatus SetEnemyFlagBits(Evt *script, b32 isInitialCall)
ApiStatus BindNpcAI(Evt *script, b32 isInitialCall)
ApiStatus RemoveNpc(Evt *script, b32 isInitialCall)
ApiStatus SetNpcPos(Evt *script, b32 isInitialCall)
ApiStatus GetOwnerEncounterTrigger(Evt *script, b32 isInitialCall)
ApiStatus OnPlayerFled(Evt *script, b32 isInitialCall)
ApiStatus SetBattleAsScripted(Evt *script, b32 isInitialCall)
ApiStatus SetSelfVar(Evt *script, b32 isInitialCall)
ApiStatus GetBattleOutcome(Evt *script, b32 isInitialCall)
#define Switch(LVAR)
Marks the start of a switch statement.
#define Ref(sym)
Address/pointer constant.
#define CaseEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR. It also marks the end of any pre...
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define EndCaseGroup
Marks the end of a switch case group (CaseOrEq and/or CaseAndEq), stopping fallthrough.
#define CaseOrEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR.
#define EndIf
Marks the end of an if statement or an else block.
#define CaseDefault
Marks the start of a switch case that executes unconditionally. It also marks the end of any previous...
#define NPC_DISPOSE_LOCATION
#define PlayEffect(args...)
#define EndSwitch
Marks the end of a switch statement and any case.
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.