From 262e8bd9015e130fabe1b26c2984923c56db5387 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Sep 2015 21:17:07 +0300 Subject: Replace setnpcdisplay to '.class'. --- npc/functions/npcmove.txt | 2 +- npc/functions/npcmovegraph.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/functions/npcmove.txt b/npc/functions/npcmove.txt index be2a20a9..59107e0a 100644 --- a/npc/functions/npcmove.txt +++ b/npc/functions/npcmove.txt @@ -52,7 +52,7 @@ function script domoveaction { } else if (.@cmd$ == "class") { - setnpcdisplay strnpcinfo(3), getvariableofnpc(.movepathx[.@pos], strnpcinfo(3)); + .class = getvariableofnpc(.movepathx[.@pos], strnpcinfo(3)); return 2; } else if (.@cmd$ == "warp") diff --git a/npc/functions/npcmovegraph.txt b/npc/functions/npcmovegraph.txt index cb2c3471..7e0761aa 100644 --- a/npc/functions/npcmovegraph.txt +++ b/npc/functions/npcmovegraph.txt @@ -123,7 +123,7 @@ function script execmovecmd { } else if (.@cmd$[0] == "class") { - setnpcdisplay strnpcinfo(3), atoi(.@cmd$[1]); + .class = atoi(.@cmd$[1]); } else if (.@cmd$[0] == "warp") { -- cgit v1.2.3-70-g09d2