summaryrefslogtreecommitdiff
path: root/npc/functions/savepoint.txt
blob: 783cf6136bac2f7c88d038d28a43184ad786c560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Evol functions.
// Author:
//    Reid
// Description:
//    Adds a new save point location.
// Description:
//    Save location with arguments:
//      getarg(0)   map name,
//      getarg(1)   x's value,
//      getarg(2)   y's value.

function	script	SavePoint	{
    message strcharinfo(0), "Your position has been saved.";

    savepoint getarg(0), getarg(1), getarg(2);
    misceffect2 4, getcharid(3);
    return;
}