Thread: Need help with object

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Need help with object 
    TimeWarp
    Guest
    Ok guys I need help on making objectID 4755 Show two Options like a NPC does when you talk to them and i want them to say this-

    General Graador
    Commander Zilyana

    And i need to make it so when i click graador it teles me to certain coords and
    when i click zilyana it teles me to certain coords

    Can someone please post a example code and tell me how to do this?
     

  2. #2  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    ok do that object got 2 " things" ?


    if yes plz post pic to



    click banner to join gtracer!
     

  3. #3  
    TimeWarp
    Guest
    Minutes i have no idea what you said.. what i want is For Two options to show up in chat box.. kinda like when you talk to a npc theres a few options on what to say... but i want the options to tele me when clicked
     

  4. #4  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    ok just right click on object 4755

    and post pic



    click banner to join gtracer!
     

  5. #5  
    TimeWarp
    Guest
    ok just right click on object 4755

    and post pic

    I havent ADDEd the object i was using object 4755 AS A EXAMPLE dude seriously your not helping at all... i dont even think you know what im asking
     

  6. #6  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    i know what you are asking... but whatever i help you

    ok open client.java

    and find this:

    if(objectID == 2470){
    under } add this:

    if(objectID == 4755){ /// first option
    toX = ####;
    toY = ####;
    }
    ok now find this:

    if(objectID == 2634){
    under } add this:

    if(objectID == 3755){ //// second option
    toX = ####;
    toY = ####;
    }



    click banner to join gtracer!
     

  7. #7  
    TimeWarp
    Guest
    Minutes get off this right now.. you DO NOT understand what i am asking you are of NO help at all..
     

  8. #8  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    ok i posted help...



    click banner to join gtracer!
     

  9. #9  
    Member

    Join Date
    Oct 2008
    Posts
    203
    Thanks given
    7
    Thanks received
    0
    Rep Power
    0
    You would need to edit your client for it to have 2 options. Check the client tutorial section for object editing options . You cant do it by server.
     

  10. #10  
    TimeWarp
    Guest
    cApSL0ck tr0jAn ... thats not what i meant... i want it to be like when you talk to a NPC it shows options of what you want to say BUT i want the options when i click on them to teleport me instead of the npc telling me something else
     

Page 1 of 2 12 LastLast

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
  •