Thread: Need help with options in asteria

Results 1 to 3 of 3
  1. #1 Need help with options in asteria 
    Registered Member Emre's Avatar
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    61
    Rep Power
    7
    so this is the Option dialogue

    Code:
    public static void teleportMonsters(Player player) {
        	Dialogue.sendOptionDialogue(player, "Rock crabs", "Something");
        }

    but the button id is 56109

    Code:
    case 56109:
                switch (player.getOption()) {
               
                }
                break;
    this is .getOption

    Code:
    public int getOption() {
            return option;
        }
    what would i put under 56109?
    Reply With Quote  
     

  2. #2  
    Registered Member Emre's Avatar
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    61
    Rep Power
    7
    I got it kinda working i think i put it in the wrong class lol but its like pi the options have the same cases but idk what to add under the dialogue like player.something =1; and under the case if(something = 1) { and those stuff but idk what to put under the dialogue
    Reply With Quote  
     

  3. #3  
    Registered Member Emre's Avatar
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    61
    Rep Power
    7
    nvm i already got it lol im so stupid
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 06-09-2012, 06:53 AM
  2. Replies: 3
    Last Post: 07-08-2011, 02:41 AM
  3. Need help with drops in PvP
    By Dem0n in forum Help
    Replies: 1
    Last Post: 09-06-2010, 05:33 PM
  4. Need help with client in general
    By poopoohead in forum Help
    Replies: 2
    Last Post: 12-30-2009, 02:22 AM
  5. Need help with specials in Devo 2.7
    By A nipple in forum Help
    Replies: 1
    Last Post: 09-01-2009, 09:09 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •