View Single Post
  #1  
Old 07-24-2001, 12:56 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Assisstance with attachplayertoobj...

Hey, I am trying to make a boat thing similar to the mini-ships on graal2001....i have it all setup (setshape2 stuff) but when the player is put on it, he is not fully attached, what is wrong?

NPC Code:

if (playertouchsme&&!playerattached) {
attachplayertoobj 0,0;
set playerattached;
playerx=x+5.5;
playery=y+7;
}

if (playerchats&&playerattached) {
if (strequals(#c,leave)) {
detachplayer;
unset playerattached;
playerx=x;
playery=y;
}



i know that I must be doing something wrong, so I would appreciate it if someone could help me with it, thanks
__________________
Reply With Quote