summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 00:15:26 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 00:15:26 -0300
commit5c60d497777317acfdab05bd115bb3ecd0583c92 (patch)
treea7f0be0bc365e027d5dc252acb78c40f07b27708 /npc
parentc379fe0f4f910a54d418b636704175dcabb7b9fb (diff)
downloadserverdata-5c60d497777317acfdab05bd115bb3ecd0583c92.tar.gz
serverdata-5c60d497777317acfdab05bd115bb3ecd0583c92.tar.bz2
serverdata-5c60d497777317acfdab05bd115bb3ecd0583c92.tar.xz
serverdata-5c60d497777317acfdab05bd115bb3ecd0583c92.zip
Fake destroy() function
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/main.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index bbd119e0..a3e222e8 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -496,6 +496,11 @@ function script mapexit {
return;
}
+function script destroy {
+ disablenpc strnpcinfo(0);
+ return;
+}
+
function script npcaction {
debugmes "Deprecated unitaction (did you mean npcsit; or whatever?)";
return;