Thread: [PI] Object Definition - No actionbutton?

Results 1 to 5 of 5
  1. #1 [PI] Object Definition - No actionbutton? 
    Left to be damned

    Join Date
    Jul 2012
    Posts
    90
    Thanks given
    13
    Thanks received
    6
    Rep Power
    24
    Hey, I've started looking into adding things to the right-click menu for the bank. I'm yet wondering why it does not have any actionbutton id? I have been searching and browing 'round the forum, yet no answer. If anybody could help, it would be awesome! :-)
    Code:
    if (i == 2213) {
          objectDef.itemActions = new String[] { "Use-quickly", "Access-exchange", null, null, null };
    }
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    It's not suppose to? Isn't it just an object..
    If only I hadn't given you up, my life could've been different.
    Reply With Quote  
     

  3. #3  
    Left to be damned

    Join Date
    Jul 2012
    Posts
    90
    Thanks given
    13
    Thanks received
    6
    Rep Power
    24
    In any matter, whether it's "just" an object, I'd like to know how I somehow can assign some kind of a button id to the access-exchange. I'm rather lost here.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Quote Originally Posted by AquelDev View Post
    In any matter, whether it's "just" an object, I'd like to know how I somehow can assign some kind of a button id to the access-exchange. I'm rather lost here.
    ActionHandler class? Lol.. firstClick,secondClick,thirdClick?
    If only I hadn't given you up, my life could've been different.
    Reply With Quote  
     

  5. #5  
    Left to be damned

    Join Date
    Jul 2012
    Posts
    90
    Thanks given
    13
    Thanks received
    6
    Rep Power
    24
    Thanks, man. That actually helped a lot. :-)
    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: 2
    Last Post: 01-29-2014, 10:44 PM
  2. [PI]Object Deleting, No Compiling
    By Slawth Baws in forum Snippets
    Replies: 0
    Last Post: 09-19-2012, 06:49 PM
  3. Replies: 7
    Last Post: 04-01-2012, 04:12 PM
  4. Replies: 0
    Last Post: 03-30-2012, 09:14 PM
  5. Object Adding - NO WALKING THROUGH
    By Mrquarterx in forum Tutorials
    Replies: 14
    Last Post: 10-19-2008, 06:17 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
  •