I have seen many scripts here on the forum but I whas wondering , how to create a spawnpoint of NPC's
also , how do you make an NPC to start with :/
I have seen many scripts here on the forum but I whas wondering , how to create a spawnpoint of NPC's
also , how do you make an NPC to start with :/
Are you talking about NPCs on a server or Graal Editor?
OrPHP Code:
function onCreated()
setshape(1, 32, 32);
function onActionDied()
setlevel2("levelname", x, y);
//#CLIENTSIDE
function onPlayerDies()
triggeraction(x + 0.5, y + 0.5, "Died", null);
PHP Code:
//#CLIENTSIDE
function onPlayerDies() { //function for when the player dies
setlevel2("Name.nw",X,Y); //syntax: setlevel2(LevelNameInString,x,y);
}
I can't really understand what you mean by spawning?
The above is for when a player dies, spawn.
Spoiler
Last edited by Saint Revla; 12-08-2015 at 12:31 AM.