Thread: [Delta] Summoning Problem

Results 1 to 4 of 4
  1. #1 [Delta] Summoning Problem 
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Oke so i made it so if u tele your summoned npc follows you but now when u walk more then the 10 distance between you and the npc it wont tele to you only when the player teles.
    Anbody got reason why?

    code i use for tele to you when you teleport

    Code:
    				if(summonID > -1) {
    					NPC summoned = server.npcHandler.npcs[summonID];
    					if(summoned != null) {
    						if(summoned.distanceToPoint(absX, absY) >= 10) {
    							summoned.absX = absX;
    							summoned.absY = absY;
    							summoned.updateRequired = true;
    						}
    					}
    				}
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    tryed this for call follower button:
    Code:
    case 110150:
    				if(c.summonID > -1) {
    					NPC summoned = server.npcHandler.npcs[c.summonID];
    					if(summoned != null) {
    						if(summoned.distanceToPoint(c.absX, c.absY) >= 1) {
    							summoned.absX = c.absX;
    							summoned.absY = c.absY;
    							summoned.updateRequired = true;
    						}
    					}
    				}
    break;
    But didnt help any help please?
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    bump
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Bump
    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. [PI] Summoning following problem.
    By M1Cr0 in forum Help
    Replies: 0
    Last Post: 04-17-2011, 08:07 PM
  2. [Delta] Summoning problem
    By Nighel in forum Help
    Replies: 4
    Last Post: 04-06-2011, 09:15 PM
  3. Summoning problem
    By Nighel in forum Help
    Replies: 9
    Last Post: 04-05-2011, 12:53 AM
  4. [508] Summoning Problem
    By owner jacob in forum Help
    Replies: 13
    Last Post: 01-09-2010, 08:19 PM
  5. Problem with summoning
    By Homie Pimpson in forum Help
    Replies: 3
    Last Post: 08-15-2009, 08:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •