View Single Post
  #2  
Old 01-11-2005, 05:04 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by Evil_Trunks
I need help with getting this to work right

when attached to an NPC moving around on the gmap, it seems to mess up a lot

it will often cross levels, and not update on my client that it has moved past the edge of the current level on the gmap

also, say i am standing right on the top left corner of the NPC, when the npc moves around a little i may end up way off the NPC in the bottom right

it's very strange

simple script like this is used

PHP Code:
if (playerchats) {
  if (
strequals(#c,attach)) attachplayertoobj 0,id;
  
if (startswith(move,#c)) {
      
tokenize #c;
      
move strtofloat(#t(1)) - x,strtofloat(#t(2)) - y,5,0;
  
}

any ideas? kingdoms has it working very well from what I hear atleast
Use setshape/setshape2 and make a non blocking square or something. You should be able to stay attached and walk around. You can also freeze the player or disable the movement to fix your jumping around problem.
Reply With Quote