From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *strnpcinfo now uses constants - NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map --- npc/re/instances/EclageInterior.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/re/instances/EclageInterior.txt') diff --git a/npc/re/instances/EclageInterior.txt b/npc/re/instances/EclageInterior.txt index e7d603340..9ee105bb9 100644 --- a/npc/re/instances/EclageInterior.txt +++ b/npc/re/instances/EclageInterior.txt @@ -156,11 +156,11 @@ ecl_hub01,130,15,0 script It is closed shut. CLEAR_NPC,{ end; OnInstanceInit: - hideonnpc instance_npcname(strnpcinfo(0)); + hideonnpc instance_npcname(strnpcinfo(NPC_NAME)); end; OnEnable: - hideoffnpc instance_npcname(strnpcinfo(0)); + hideoffnpc instance_npcname(strnpcinfo(NPC_NAME)); end; } @@ -175,7 +175,7 @@ OnEnable: 1@ecl,42,80,5 script Suspicious Creature#5 MOROCC_2_142,{ end; OnInstanceInit: - hideonnpc instance_npcname(strnpcinfo(0)); + hideonnpc instance_npcname(strnpcinfo(NPC_NAME)); end; } @@ -188,7 +188,7 @@ OnInstanceInit: OnInstanceInit: .mob_summoned = 0; - disablenpc instance_npcname(strnpcinfo(0)); + disablenpc instance_npcname(strnpcinfo(NPC_NAME)); end; OnEnable: -- cgit v1.2.3-60-g2f50