Change the interface Id?
|
|
Yes, i know i'v made a post about this however i don't think i was at all clear.
Okay, i'v adding a new teleport interface which i got from: [Only registered and activated users can see links. ]
I'v added the 'City teleport' (The first one, client and server sided)
but i was wondering how can i add the minigame one (both server and client sided) because they both look exactly the same.
Thanks you.
EDIT:
How do i do this:
Or just make it where when they click the teleport button those interface lines turn to something like
Pest control
Barrows
Blah etc..
and create an int like teleportId = 1;
and for city teleports teleportId = 0;
Then in clickingbuttons.java:
case interfacelineid:
if (teleportId = 0) {
teleport to city
} else if (teleportId = 1) {
teleport to minigame
}
break;
That way you can use the same interface.

Change the interface Id?
Or just make it where when they click the teleport button those interface lines turn to something like
Pest control
Barrows
Blah etc..
and create an int like teleportId = 1;
and for city teleports teleportId = 0;
Then in clickingbuttons.java:
case interfacelineid:
if (teleportId = 0) {
teleport to city
} else if (teleportId = 1) {
teleport to minigame
}
break;
That way you can use the same interface.
Generation - that's exactly what i want to do, however i have no idea how. Do you think you could explain how to do that?
bump
Bump
| « [PI] Players disconnecting | Help! 633 Characters to 317 Character » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |