testing npc events

This commit is contained in:
2024-01-21 10:45:49 -05:00
parent 663503fe7f
commit 5a49e1bbe0
2 changed files with 17 additions and 0 deletions

17
modules/npcs/npcbot.ts Normal file
View File

@@ -0,0 +1,17 @@
const npcBotEmote: creature_event_on_died = (event: number, creature: Creature, player: Player) => {
// player.KillPlayer();
print('Here!!!!!')
// print(`Emote ${emoteId}`);
return true;
}
RegisterCreatureEvent(
25155,
// 70201,
CreatureEvents.CREATURE_EVENT_ON_DIED,
(...args) => npcBotEmote(...args)
);
print("hello world");