Thread: [718 Matrix] Sprite on Component

Results 1 to 5 of 5
  1. #1 [718 Matrix] Sprite on Component 
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Hi,

    I'm trying to send a sprite onto an interface component, and it doesn't seem to be working with the code i'm using.

    Code:
    player.getPackets().sendIComponentSprite(INTERFACE_ID, 61, 1174);

    1174 = the sprite i'm trying to send onto my interface but it doesn't do anything.

    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    Do other sprites work? Perhaps you've got the wrong componentId.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Joris View Post
    Do other sprites work? Perhaps you've got the wrong componentId.
    I'm almost certain it's the right component Id because it works when I add text.

    Going to check right now if other sprites works, pretty sure they don't.


    EDIT: Okay, so apparently no sprites work on that component.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2009
    Posts
    774
    Thanks given
    367
    Thanks received
    455
    Rep Power
    927
    Quote Originally Posted by Focused View Post
    I'm almost certain it's the right component Id because it works when I add text.

    Going to check right now if other sprites works, pretty sure they don't.


    EDIT: Okay, so apparently no sprites work on that component.
    You can't add a sprite and text at the same time. You can programatically, but a component is either a sprite component or a text component. Component 11 in interface 1164 is a sprite component, so you should be able to change the sprite of it. The default sprite id of that component is 8391.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Admiral Slee View Post
    You can't add a sprite and text at the same time. You can programatically, but a component is either a sprite component or a text component. Component 11 in interface 1164 is a sprite component, so you should be able to change the sprite of it. The default sprite id of that component is 8391.
    Thanks for the info, I was sorta aware that you couldn't add both text and a sprite.

    I just still don't understand why I can't add the sprite on want on the component. Very frustrating.
    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. Matrix 718/723 Sprite Dump
    By Gluon in forum Downloads
    Replies: 48
    Last Post: 11-24-2013, 07:13 PM
  2. [Matrix 718] Send Items on Death Problems
    By pistolpete332 in forum Help
    Replies: 3
    Last Post: 08-16-2013, 07:20 PM
  3. Need help on a 718 matrix
    By Blackout in forum Help
    Replies: 4
    Last Post: 08-09-2013, 06:54 PM
  4. Replies: 1
    Last Post: 05-03-2013, 08:29 AM
  5. Matrix 718 Need Help On Some Stuff
    By DoomZone639 in forum Help
    Replies: 6
    Last Post: 09-22-2012, 07:06 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
  •