-
Posts
41 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Everything posted by VeranniCakes
-
If you want to be mildly more sophisticated, there are better ways to build a HUD than with separate ON/OFF buttons, but the way you are doing it will work just fine. _________________________________________________________________________________________________________________________________________________________________ Yeah It's an easy project, I'm a beginner. I guess it can pass as sophisticated, thanks lol.
-
Ok! wow oof! Thank you!! and for replying thks. That's what I did wrong?! I just putting the SetPrimitiveParams in the wrong object? lol I was thinking it was the Hud that will do all the work lol, Ok I will indent my braces more and aline them better.
-
Hello, I need help with this script pls, I'm a beginner but I know a little bit about coding. I'm trying to turn on a light with a hud, but the light isn't turning on. Here is my code. //This is the HUD script //This is a simple Light Hud, turning a Light on and off. //The light source is on an object called GlowStick, The HUD is called Glowstick HUD //PRIM_POINT_LIGHT is being used No PRIMGLOW codes //Channel being used is 100 integer switch; integer ONButton = 2; integer OFFButton = 3; default { state_entry() { } touch_start(integer total_number) { integer press = llDetectedLinkNumber(0); if(press == ONButton) { llOwnerSay("ON Button"); llRegionSayTo(llGetOwner(),100,"ON Button Connected"); llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, <0.2, 0.8, 0.8>, 1.0, 10, 0.75 ]); } else if(press == OFFButton) { llOwnerSay("OFF Button"); llRegionSayTo(llGetOwner(),100,"OFF Button Connected"); llSetPrimitiveParams([PRIM_POINT_LIGHT, FALSE, <0.2, 0.8, 0.8>, 1.0, 10, 0.75 ]); } } } _____________________________________________________ //Glowstick Object default { state_entry() { llListen(100,"Glow Stick HUD","",""); } listen(integer channel, string name, key id, string message) { if(llGetOwnerKey(id) != llGetOwner() ) return; else llOwnerSay(message); } }
-
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Ok I will try this tonight thank you -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
The code is telling me that this line is an error llSetLink.... PRIM_COLOR, color, ..... -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Ok and last question what if I wanted the object to change different colors so one block changes blue then yellow then orange -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
I didn't understand the question, I thought she wanted me to guess the answer, but she helped great. Sorry about that. Ok so let's say I want to change One object to flash purple and one to flash blue how can I do that? -
Ok so I have two objects. both of them light up at different times, but I want them to change colors, how do I get them to change colors? Here's a video of what I have Here's my code so far integer iON; default { state_entry() { llSetTimerEvent(3.0); llSetLinkPrimitiveParamsFast(LINK_SET,[34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,1,PRIM_FULLBRIGHT, ALL_SIDES, !iON, PRIM_GLOW, ALL_SIDES, 0.05*!iON]); } timer() { iON = !iON; llSetLinkPrimitiveParamsFast(LINK_SET,[34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,1,PRIM_FULLBRIGHT, ALL_SIDES, !iON, PRIM_GLOW, ALL_SIDES, 0.05*!iON]); } }
-
I'm trying to get two cubes to flash at different times, but as two linked objects can someone help me with this? I got this code from Rolig Loon and so far she told me to subsitute this section llSetLinkPrimitiveParamsFast(LINK_SET,[34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,1,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON]); ____Here is the full code_______________________________________________________________________________________________________________________ integer iON; default { state_entry() { llSetTimerEvent(3.0); llSetLinkPrimitiveParamsFast(LINK_SET,[34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,1,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON]); } timer() { iON = !iON; llSetLinkPrimitiveParamsFast(LINK_SET,[34,1,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON, 34,2,PRIM_FULLBRIGHT, ALL_SIDES, iON, PRIM_GLOW, ALL_SIDES, 0.05*iON]); } }
-
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
ok thanks. I'll just keep asking around -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Is there a way to get them to blink at different times? -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
ok I got it to work thank you!! -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Ok I got one more question, how can I get them to blink LINKED? I got the code to work but, the heart and star only blink separately. -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Ok, What numbers on the script can I change to test it out? -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
Ok I figured out how to link two objects both of them are glowing, and I think I got the link numbers set heart is 1 and star is 2, how do I get them to flash now? kinda like christmas lights -
I need to have two separated objects blink at the same time
VeranniCakes replied to VeranniCakes's topic in LSL Scripting
The link numberr I don't get, how would I know the link number for each object? Would the link number be the UUID number? Also what does SLPPF stand for? -
Why aren't textures showing up on my shirt?
VeranniCakes replied to VeranniCakes's topic in Building and Texturing Forum
yeah I'm using 2.79 and thank you Chick Aeon -
Why aren't textures showing up on my shirt?
VeranniCakes replied to VeranniCakes's topic in Building and Texturing Forum
I did it, it finally showed up thank you so much for your help! I loaded it unto blender then exported it and it worked thanks again -
Why aren't textures showing up on my shirt?
VeranniCakes replied to VeranniCakes's topic in Building and Texturing Forum
OK I'll give that try I'll load the texture unto Blender and then export it, I'll get back on here later and let you know if it worked. -
Why aren't textures showing up on my shirt?
VeranniCakes replied to VeranniCakes's topic in Building and Texturing Forum
The size of the texture is 2048x2048 Yes I just drag and drop it into the box, Ok I'll try that.