10 .alertOffsetDist = 50.0f,
11 .playerSearchInterval = 10,
14 .chaseOffsetDist = 60.0f,
18EvtScript N(EVS_NpcAI_KoopaTroopa_Patrol) = {
22 Call(N(KoopaPatrolAI_Main),
Ref(N(AISettings_KoopaTroopa_Patrol)))
30 .level = ACTOR_LEVEL_KOOPA_TROOPA,
31 .ai = &N(EVS_NpcAI_KoopaTroopa_Patrol),
ApiStatus SetSelfVar(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.