Jump to content

Abigail Heartsong

New Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Thank you for an amazing response I do appreciate you going into detail about a better way to go about this, I know for a fact that all those scripts are ridiculous, but it was the best way I knew how, thank you for shedding some light on a different way to go about this !
  2. Yes, everything works as intended the way it is, there is a companion script, and yes, that is the point of this script, is to do the same thing over and over and over again. the only intent I have for this script is to adjust the texture part to where I set it, to instead get the texture from the prim that is being touched instead, hence touch_start(integer total_number)
  3. Thank you for your input, I will show you my entire script, it was taken from somewhere I can't remember... integer channel = Hidden; string texture = "This is where I want the texture to be applied from the clicked prim"; integer link = 5; integer face = ALL_SIDES; string SR = "*"; // Separator to use in the list, must be the same as the separator to be used within the receiver script. default { touch_start(integer total_number) { llRegionSay(channel, texture + SR + (string)link + SR + (string)face); } }
  4. 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.
×
×
  • Create New...