summaryrefslogtreecommitdiff
path: root/npc/functions/savepoint.txt
blob: 5e8838fae50a23fa8eb013f0c965ac94b5596af7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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);
    misceffect 4, getcharid(3);
}