summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 21:37:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 21:37:09 -0300
commit9631772d97faea6017a2e50143c7158a0a140db9 (patch)
tree0805b877dd44d9d0129c7c903eda1b31e5aec97f /npc
parent293a3dddd6e22a65554b96d13f70ee742c7ce461 (diff)
downloadserverdata-9631772d97faea6017a2e50143c7158a0a140db9.tar.gz
serverdata-9631772d97faea6017a2e50143c7158a0a140db9.tar.bz2
serverdata-9631772d97faea6017a2e50143c7158a0a140db9.tar.xz
serverdata-9631772d97faea6017a2e50143c7158a0a140db9.zip
Deprecate savepoint particle
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/savepoint.txt42
1 files changed, 2 insertions, 40 deletions
diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt
index 8b0f3ce0f..90c190c32 100644
--- a/npc/functions/savepoint.txt
+++ b/npc/functions/savepoint.txt
@@ -1,44 +1,6 @@
-// Evol functions.
-// Authors:
-// gumi
-// Reid
-// Description:
-// Adds a new save point location.
-// Usage:
-// savepointparticle;
-// savepointparticle NO_INN;
-// savepointparticle map, x, y;
-// Description:
-// Save location with arguments:
-// getarg(0) map name,
-// getarg(1) x's value,
-// getarg(2) y's value.
+// Deprecated
function script savepointparticle {
-
- if (gettimetick(2) - @lastSave < 5)
- return;
-
- .@mapname$ = getarg(0, "");
- .@mapx = getarg(1, -1);
- .@mapy = getarg(2, -1);
- .@i = 3;
-
- if (.@mapy < 1)
- {
- .@npc$ = strnpcinfo(0);
- .@mapname$ = getvariableofnpc(.map$, .@npc$);
- .@mapx = getvariableofnpc(.x, .@npc$);
- .@mapy = getvariableofnpc(.y, .@npc$);
- .@i = 0;
- }
-
- message strcharinfo(0), l("Your position has been saved.");
-
- if (GSET_SOULMENHIR_MANUAL)
- savepoint .@mapname$, .@mapx, .@mapy;
- specialeffect(4, SELF, getcharid(3));
- @lastSave = gettimetick(2);
-
+ debugmes "[ERROR] Usage of savepointparticle() is deprecated.";
return;
}