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/airports/airships.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/airports/airships.txt') diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index 8d840a456..677ab9da2 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -39,11 +39,11 @@ airplane,243,73,0 script #AirshipWarp-1 WARPNPC,1,1,{ OnInit: OnHide: specialeffect EF_BASH; - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; OnUnhide: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); specialeffect EF_SUMMONSLAVE; end; @@ -680,11 +680,11 @@ OnTouch: OnInit: OnHide: specialeffect EF_BASH; - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; OnUnhide: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); specialeffect EF_SUMMONSLAVE; end; } -- cgit v1.2.3-60-g2f50