3API_CALLABLE(N(SetPokeyInstigatorValue)) {
4 script->owner1.enemy->instigatorValue = 3;
12 .alertRadius = 250.0f,
13 .playerSearchInterval = 2,
16 .chaseUpdateInterval = 6,
17 .chaseRadius = 300.0f,
22 Call(N(SetPokeyInstigatorValue))
23 Call(BasicAI_Main,
Ref(N(AISettings_Pokey)))
31 .level = ACTOR_LEVEL_POKEY,
32 .ai = &N(EVS_NpcAI_Pokey),
#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.