Okay, so i have an image. I want to make it so i can walk under it, but then i want to be able to work ontop of it also. Basically abit like a bridge, could anybody help me?
attachplayertoobj(objecttype, id);
Attaches the player to an object, currently only npcs are
supported (objecttype=0); the id must be the id of the npc
you want to attach the player at
when the player is attached, you can do if (playerattached) to
check if he is attached; new player attributes playerattachid
and playerattachtype; new variables levelorgx,levelorgy for
getting the origin of the level/npc where the player is in
This command is good for all kinds of layers or moving
objects, together with the setshape2 command you can do
levels-in-levels things. It can be used for bridges,
ships, baloons, platforms in quests. Don't forget to detach the
player when he should go back to the normal level. The
position of the player is not saved when he is on such
an npc.
This command is only allowed/enabled for upgraded servers
detachplayer();
Puts the player back into the normal level