Hello everyone,
I am currently working on a project in which time I am trying to resolve errors.
Currently, I have to put in textures for each one of the buttons that are on my HUD, I am trying to streamline it to see if I can use llGetTexture to get the texture of the button clicked, and then to send it over some ridiculous numbered channel number in order to apply that texture to the prim.
I've been trying hard, and I even consulted OpenAI, it literally had no idea what I was talking about, so I thought I'd reach out.
The following is what I have:
string textureUUID = llGetTexture(llDetectedTouchFace(0));
string texture = textureUUID;
But it comes back with an error on character 34 stating, "Syntax Error."
Now, I found this on the internet somewhere, and when I use this to click a single prim it works, but it does not work in my current setup for some reason.
There are multiple links within this linkset, whereas the single prims is just that, could that be the reason?
Be gentle, I'm new at this lol.