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/003-1/mahoud.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/003-1/mahoud.txt') diff --git a/npc/003-1/mahoud.txt b/npc/003-1/mahoud.txt index 73d97dcb4..61a126909 100644 --- a/npc/003-1/mahoud.txt +++ b/npc/003-1/mahoud.txt @@ -45,7 +45,7 @@ OnInit: .sex = G_MALE; .distance = 7; - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); // Check items.xml for info about this setunitdata(.@npcId, UDT_HEADTOP, InfantryHelmet); setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt); -- cgit v1.2.3-70-g09d2