mirror of
https://github.com/araxiaonline/ets-module-collection.git
synced 2026-06-13 02:52:20 -04:00
testing npc events
This commit is contained in:
17
modules/npcs/npcbot.ts
Normal file
17
modules/npcs/npcbot.ts
Normal 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");
|
||||
Reference in New Issue
Block a user