|
|
Hello, I am trying to make these stairs work
but what ever I do they do not teleport me away :/
Dont know what is wrong, anyways
this is the code I use for the stairs:
Yes, the object is in the objects.cfg but it wont work,Code:if ((objectID == 1733) && (objectX == 2603) && (objectY == 3078)) { if (!premium) resetPos(); teleportToX = 2727; teleportToY = 9774; heightLevel = 0; break; }
when I click the object/stairs the console says:
Thanks for any help!Code:[client-1-Nozemi]: serverobjs size 872 [client-1-Nozemi]: atObject: 2603,3082 objectID: 1533
- Nozemi
hmm...
Doesn't seem to work wither :/
same reaction from the console
as before, and nothing happens to the player :/
Anyways thanks for your try!
- Nozemi
EDIT:
I also tried this method, but nothing happens here either :/Code:if (objectID == 1733 && objectX == 2603 && objectY == 3078) { teleportToX = 2727; teleportToY = 9774; updateRequired = true; }
Got teamvieuwer so i can look trough that would be easyer
If just tryed the code i posted and works fine for me

ObjectDistance most likely. (Wrong face from player to object.) Just go to clickObject and add the correct offsets.
" ! at portfowarding
So why are the numbers you're using for your object completely different from the ones being displayed on the console?
| « PI trade problem | Exp rate » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |