10 .alertOffsetDist = 40.0f,
11 .playerSearchInterval = 1,
13 .chaseRadius = 100.0f,
14 .chaseOffsetDist = 40.0f,
23 Call(N(TackleAI_Main),
Ref(N(AISettings_BuzzyBeetle)))
33 .alertOffsetDist = 40.0f,
34 .playerSearchInterval = 1,
36 .chaseRadius = 100.0f,
37 .chaseOffsetDist = 40.0f,
46 Call(N(TackleAI_Main),
Ref(N(AISettings_SpikeTop)))
55 .alertRadius = 120.0f,
56 .playerSearchInterval = 3,
58 .chaseRadius = 150.0f,
67 Call(N(TackleAI_Main),
Ref(N(AISettings_BonyBeetle)))
72#include "world/common/todo/AwaitPlayerNearNpc.inc.c"
74EvtScript N(EVS_NpcAI_BuzzyBeetle_Ceiling) = {
75 Call(N(func_80240814_97BE44))
77 Call(N(AwaitPlayerNearNpc))
81 Call(N(func_802408B4_97BEE4))
87 Call(N(TackleAI_Main),
Ref(N(AISettings_BuzzyBeetle)))
95 .level = ACTOR_LEVEL_BUZZY_BEETLE,
96 .ai = &N(EVS_NpcAI_BuzzyBeetle),
104 .level = ACTOR_LEVEL_BUZZY_BEETLE,
105 .ai = &N(EVS_NpcAI_BuzzyBeetle_Ceiling),
113 .level = ACTOR_LEVEL_SPIKE_TOP,
114 .ai = &N(EVS_NpcAI_SpikeTop),
122 .level = ACTOR_LEVEL_BONY_BEETLE,
123 .ai = &N(EVS_NpcAI_BonyBeetle),
ApiStatus SelfEnemyOverrideSyncPos(Evt *script, b32 isInitialCall)
ApiStatus SetNpcAnimation(Evt *script, b32 isInitialCall)
ApiStatus SetSelfVar(Evt *script, b32 isInitialCall)
ApiStatus SetNpcFlagBits(Evt *script, b32 isInitialCall)
#define Ref(sym)
Address/pointer constant.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.