From 9115eeae293826fd1d4f9e7db94541794dfc20b8 Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 4 May 2015 03:06:47 +0200 Subject: Add warps on #20. --- npc/001-2-20/_import.txt | 1 + npc/001-2-20/_warps.txt | 1 + npc/001-2-20/doors.txt | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 npc/001-2-20/doors.txt (limited to 'npc') diff --git a/npc/001-2-20/_import.txt b/npc/001-2-20/_import.txt index d4fdd96a..b888e3ea 100644 --- a/npc/001-2-20/_import.txt +++ b/npc/001-2-20/_import.txt @@ -1 +1,2 @@ npc: npc/001-2-20/_warps.txt +npc: npc/001-2-20/doors.txt diff --git a/npc/001-2-20/_warps.txt b/npc/001-2-20/_warps.txt index dba7282e..dd15df57 100644 --- a/npc/001-2-20/_warps.txt +++ b/npc/001-2-20/_warps.txt @@ -1 +1,2 @@ // 001-2-20 +001-2-20,33,35,0 warp ToArtis#001-2-20 0,0,001-1,107,50 diff --git a/npc/001-2-20/doors.txt b/npc/001-2-20/doors.txt new file mode 100644 index 00000000..91bb10d7 --- /dev/null +++ b/npc/001-2-20/doors.txt @@ -0,0 +1,33 @@ +// Evol scripts. +// Authors: +// 4144, Reid +// Description: +// Doors warp and animations in map 001-1 +// + +001-2-20,29,26,0 script #MerchantRoomWarp1 32767,0,0,{ +OnTouch: + warp "001-2-19", 41, 55; + close; + +OnUnTouch: + doevent "#Door1::OnUnTouch"; +} + +001-2-20,29,25,0 script #MerchantRoomDoor1 908,2,3,{ + close; + +OnTouch: + doorTouch; + +OnUnTouch: + doorUnTouch; + +OnTimer340: + doorTimer; + +OnInit: + setnpcsex G_MALE; + setnpcdistance 5; + end; +} -- cgit v1.2.3-70-g09d2