bump
|
Hey guys,
im trying to make a teleport city tab,
but when i try to add a 'more' option it wont work.
when i click on 'More' close the window...
i've no idea what i did wrongCode:if (c.dialogueAction == 9000) { c.getDH().sendDialogues(9001, 0); }
if you need more codes tell me
EDIT: everytime when i relog, it works 1 time.
thanx
bump
Add "return true;" to the bottom of it?
You need to declare some sort of stage for your dialogue options a Integer or String would do
Similar to this
Off course you would have to set the string on the magic book tele icon button click.Code:case #BUTTON : if (teleportPhase.equals("City_1")) { Location.Teleport(new Location(3222, 3222, MagicBook.getType())) } else if (teleportPhase.equals("City_2")) { Location.Teleport(new Location(3222, 3222, MagicBook.getType())) } break;
Code:player.teleportPhase = "City_1";
If you still need help id be glad to help, im really good at this sort of thing!
yeah sure, pm me plz
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |