Thread: Summoning Issue [REP++]

Results 1 to 3 of 3
  1. #1 Summoning Issue [REP++] 
    Banned

    Join Date
    Apr 2012
    Age
    27
    Posts
    2,936
    Thanks given
    1,126
    Thanks received
    1,081
    Rep Power
    0
    When following, after I get 10 steps away from the familiar, it teles to me, but whenever I teleport or move out of an area immedietly, it never spawns back.

    Will give credits in my project, and rep++

    This is what moves it.

    Code:
    		if(familiar(i)) {
    				if(!goodDistance(npcs[i].absX, npcs[i].absY, playerX, playerY, 10)) {
    					npcs[i].isDead = true;
    					npcs[i].applyDead = true;
    					Summoning.spawnFamiliar(c, c.familiarID);
    					npcs[i].underAttackBy2 = -1;
    					npcs[i].dirUpdateRequired = true;
    					npcs[i].getNextWalkingDirection();
    					}
    		}
    Reply With Quote  
     

  2. #2  
    Registered Member
    Joker's Avatar
    Join Date
    Nov 2009
    Age
    28
    Posts
    1,845
    Thanks given
    378
    Thanks received
    1,206
    Rep Power
    5000
    Add this to your teleport methods

    Code:
    					npcs[i].isDead = true;
    					npcs[i].applyDead = true;
    					Summoning.spawnFamiliar(c, c.familiarID);
    					npcs[i].underAttackBy2 = -1;
    					npcs[i].dirUpdateRequired = true;
    					npcs[i].getNextWalkingDirection();

    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned

    Join Date
    Apr 2012
    Age
    27
    Posts
    2,936
    Thanks given
    1,126
    Thanks received
    1,081
    Rep Power
    0
    Quote Originally Posted by Jokerboy2000 View Post
    Add this to your teleport methods

    Code:
    					npcs[i].isDead = true;
    					npcs[i].applyDead = true;
    					Summoning.spawnFamiliar(c, c.familiarID);
    					npcs[i].underAttackBy2 = -1;
    					npcs[i].dirUpdateRequired = true;
    					npcs[i].getNextWalkingDirection();
    undid the following, but when I try again, I'll add this. Thank you.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Summoning Over Player Issue
    By C00l Kid in forum Requests
    Replies: 3
    Last Post: 04-22-2012, 12:20 PM
  2. Summoning Over Player Issue
    By C00l Kid in forum Help
    Replies: 0
    Last Post: 04-22-2012, 06:04 AM
  3. 639 summoning issue please help!
    By `Michael in forum Help
    Replies: 7
    Last Post: 04-10-2012, 12:08 AM
  4. Summoning Npc Follow issue
    By Gnakos in forum Help
    Replies: 2
    Last Post: 03-15-2012, 10:34 PM
  5. [PI] Summoning Issue
    By Hoodlum in forum Help
    Replies: 4
    Last Post: 11-20-2011, 12:58 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
  •