View Single Post
  #1  
Old 01-11-2005, 02:41 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
help with attachplayertoobj

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 at least
__________________

Reply With Quote