Jump to content

Jaguar Solo

Resident
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Using the following script > // Textbox2Hovertext by Ackley Bing & Omei Qunhua // A simple script to allow object owners to change the "hovertext" // on their prims using a text entry box (llTextBox). integer listenhandle; vector COLOR_YELLOW = <1.0, 1.0, 0.0>; float OPAQUE = 1.0; default { touch_start(integer num) { key Writer = llDetectedKey(0); if(Writer!=llGetOwner()) return; // remove this line to allow anyone to change the hover text llListenRemove(listenhandle); llSetTimerEvent(60.0); // Time to input text until script closes listener in case target doesnt enter anything into textbox listenhandle=llListen(-12345, "", Writer, ""); llTextBox( Writer, "Set Hovertext", -12345); } listen(integer channel, string name, key id, string message) { llSetText(message, <1, 1, 0>, 1); llListenRemove(listenhandle); llSetTimerEvent(0.0); } timer() { llListenRemove(listenhandle); llSetTimerEvent(0.0); } } Trying to change the color vector of the floating text to YELLOW (or whatever I want) but changing vector in llSetText(message, <1, 1, 0>, 1); Does not change the color Placed> vector COLOR_YELLOW = <1.0, 1.0, 0.0>; float OPAQUE = 1.0; as a Global and the Text is still white. Where am I going wrong?
  2. Thank you Rolig Loon . Actually trying to learn. If I get painted into a mental corner I will hire someone. I will check the Wiki and see if I can get some info on how to use llSetLinkPrimitiveParamsFast in my script. Again thank you for your time and efforts. :-)
  3. I have modified a Change texture on touch Script to Change Texture on Collision. YAY!. However, I do not know how to make the script change the texture in all objects in a linked Set. I have been told: "you can either send a linked message to all prims, and let them handle the work, or you can cycle through all prims (call llGetNumberOfPrims) calling llSetLinkPrimitiveParamsFast with the texture data you wish to set" With the preference of Cycling. I have no idea what this means or where to place it in the script. Here is my script so far: default { collision_start(integer total_number) { integer number = llGetInventoryNumber(INVENTORY_TEXTURE); float rand = llFrand(number); integer choice = (integer)rand; string name = llGetInventoryName(INVENTORY_TEXTURE, choice); if (name != "") llSetTexture(name, ALL_SIDES); } } I am an Rper not a scriptwriter: The purpose of this script is to lure players into a pleasant scene and have it change to a more terrifying scene. I could find no script to purchase inworld or on marketplace. So I took matters into my own hand. Now I'm stuck. Any help with this would be appreciate Thank you in advance.
  4. I am working on a fire walk effect. I have a script that will launch a fire particle effect upon collision. I want to have the fire attach itself to an avatar as it passes over the prim with the script, giving the illusion that the walker is on fire. I have tried follower scripts but they only follow me (the owner). Not being a talented scriptor, I am baffled as to how to accomplish this task. The fire effect can die after a few seconds. Any help would be appreciated. And yes I know, attach to avatar scripts can be used for griefing. This is not my intent or purpose. The build is being used for a Fair. My avatar will walk the ember field with no ill effect but other avatars may or may not make the run without catching on fire.
×
×
  • Create New...