From eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Dec 2018 02:34:47 -0200 Subject: New Hercules Syntax for getnpcid(). sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt --- npc/009-3/dangrostra.txt | 2 +- npc/009-3/kevin.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/009-3') diff --git a/npc/009-3/dangrostra.txt b/npc/009-3/dangrostra.txt index 3cc61349f..055bc7930 100644 --- a/npc/009-3/dangrostra.txt +++ b/npc/009-3/dangrostra.txt @@ -24,7 +24,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, VneckJumper); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); diff --git a/npc/009-3/kevin.txt b/npc/009-3/kevin.txt index 4db972e28..b85a52257 100644 --- a/npc/009-3/kevin.txt +++ b/npc/009-3/kevin.txt @@ -132,7 +132,7 @@ L_Quit: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FancyHat); setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt); setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants); -- cgit v1.2.3-70-g09d2