Thread: Text when you click an object

Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    6,023
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    No sir lewis, that would be more complicated since he wants to use the same case for multiple teleports.

    Code:
    public void teleport()
    {
    interfaceEffect = 1;
    sendFrame126("Option 1", 2494);
    sendFrame126("Option 2", 2495);
    sendFrame126("Option 3", 2496);
    sendFrame126("Option 4", 2497);
    sendFrame126("Option 5", 2498);
    sendQuestSomething(8143);
    sendFrame164(2492);
    flushOutStream();
    }
    For the first teleports you want.

    The when you want more you change the interfaceeffect number

    so you click the text, you get the case and do like

    Code:
    public void teleport2()
    {
    interfaceEffect = 2;
    sendFrame126("Option 1", 2494);
    sendFrame126("Option 2", 2495);
    sendFrame126("Option 3", 2496);
    sendFrame126("Option 4", 2497);
    sendFrame126("Option 5", 2498);
    sendQuestSomething(8143);
    sendFrame164(2492);
    flushOutStream();
    }
    And in the cases to teleport you do

    Code:
    if (c.interfaceEffect == 1) {
    do the tele shit here
    }
    Reply With Quote  
     

  2. #22  
    Oxygen
    Guest
    Can you use voids as ifs?
    Like
    if (void stuff here) {
    xxxxxxx
    }

    ?
    Reply With Quote  
     

  3. #23  
    Oxygen
    Guest
    Bumpzor
    Reply With Quote  
     

Page 3 of 3 FirstFirst 123

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •