Results 1 to 6 of 6

Thread: NPC spawing point????

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Street Boss Saint Revla's Avatar
    Join Date
    Nov 2015
    Location
    Netherlands - Europe
    Posts
    603
    PHP Code:
    function onCreated() 
      
    setshape(13232);

    function 
    onActionDied() 
      
    setlevel2("levelname"xy);

    //#CLIENTSIDE
    function onPlayerDies() 
     
    triggeraction(0.50.5"Died"null); 
    Or

    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
    If you meant the below.

    If you mean regular npcs, such as objects. Then you can just place them using the NPC-Icon everywhere you want. They can spawn when player touches, set timer or if a player enters an area.
    Last edited by Saint Revla; 12-08-2015 at 12:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •