summaryrefslogblamecommitdiff
path: root/npc/functions/savepoint.txt
blob: 207857088f777c67d75a7fe7afa155784b5666f1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  
          

               
                                     




                                   

                                         
                                                            
 
                                              
                                
 
// 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);
}