Jump to content

Altier Verwood

Resident
  • Posts

    63
  • Joined

  • Last visited

Reputation

14 Good

Recent Profile Visitors

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

  1. WHoa, that looks way over kill to what I have my script doing XD
  2. Never mind, I put the integer in the wrong spot XD
  3. Hm when i tried that it gives me a syntex error, but i don't see what im doing wrong. integer hp = (integer)llGetObjectDesc();
  4. One more, thing its along the same lines, is there a way I can make my integer here. integer hp = 500; read object description like this integer hp = llGetObjectDesc(); ?
  5. You are amazing thank you so much, something so small held up the whole script XD it compiled!
  6. I feel like I learn so much from this forum, I have another question, I'm diving into making my script work more efficiently. I have this snippit here. it scans my link set for a link name, but I need to turn the name it finds back into a link number for the integer to work. could someone shed some light on what I'm doing wrong? thank you so much if anyone gets the time. string name = PART+"Fire"; { integer i = llGetNumberOfPrims(); for (; i >= 0; --i) { if (llGetLinkName(i) == name) { keystate = 0 ; updateParticles() ; llSetLinkPrimitiveParamsFast(name,[PRIM_COLOR,ALL_SIDES,<1.000, 1.000, 1.000>,0.2,PRIM_GLOW,ALL_SIDES,0.8,PRIM_POINT_LIGHT,TRUE,<0.984, 0.752, 0.359>,1,3,.750]); } } }
  7. OHHHHHH so what you are saying is even if I tell it to use shift A or D it just won't work in mouse look it will only take one command?
  8. So this is a doozy but I will try to explain it. I am working with a flight script I am trying to re write, there is a lot of junk in here that isn't important but bare with me please. the controls are as follows OUT OF MOUSE LOOK (this part is important.) W (brings the nose of the ship down) S (brings the nose of the ship up) A (rolls the ship left) D (rolls the ship right) E (throttle up) C (throttle down) Shift-A (rotates the ship left) Shift-D(rotates the ship right) But in mouse look, the controls are changed. these commands do the same thing and i can no longer roll the ship when in mouse look. |A (rotates the ship left) D (rotates the ship right) Shift-A (rotates the ship left) Shift-D(rotates the ship right) I have looked through this script many times, removed anything that talked about mouse look, but nothing worked to fix my problem, here is the full script below. any help on this would be vary appreciate,d I just want the controls to be the same in and out of mouse look.
  9. YES you were right! There was no problem with my script! wow, thank you guys. my script is working perfectly!
  10. wait.... I think its a very simple solution isn't it, I type the command as /-CHANNEL altier.verwood 1 am I typing the command wrong?
  11. Oh I see it, you added a command I did not have, I've never seen lltolower before, I need to look that one up. thank you so much I will test this out now.
  12. Yeah, I put those in to test it, but it seems like it's not getting the message, I know an avatar can send - channel messages I do it all the time. my sling command works on -1 I tried it on a positive channel to and go nothing either.
  13. yes you understood the script perfectly Rolig, how ever in my tests, even with the proper command given, the script doesn't seem to do anything, so I have a feeling. this string name = llKey2Name(llGetOwner()); if (msg == name + "1") Can not actually change the message being listened for right ? the message should be /CHANNEL, OWNER_NAME 1 but it doesn't' seem to work.
  14. Hello scripting people, I am working with a script I tried to write, to listen for a message, but it would change the command it listens for based on the owner of the prim. but I can't seem to get it to work, and I'm not sure what I'm doing wrong because the script is compiling. I blanked out the channel cause someone might see this and break my script XD default { state_entry() { llListen(-???,"",NULL_KEY,""); } listen(integer channel, string name, key id, string msg) { string name = llKey2Name(llGetOwner()); if (msg == name + "1") { llSetTexture("0e730d5c-55b3-2d7d-600a-a52b3a32201f", 0); llSetPrimitiveParams([ PRIM_NORMAL, 0, "325f39ee-3eed-a369-b6c7-5a33de6a68de", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]); llWhisper(0, name + "Complexity = Henagon"); } if (llGetCreator() == "59ce94d0-12e5-4f62-987d-b9b78cc74e82" && msg == name + "1") { llSetTexture("0a28d60f-b12d-df66-9d7c-c83ec3a92dac", 0); llSetPrimitiveParams([ PRIM_NORMAL, 0, "d7536b1e-5ada-e91d-a830-49296faf84d3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]); llWhisper(0, name + "Complexity = Digon"); } } } I've included two commands, the first is just listening to the message, the second is my attempt to make it listen for the owners key.
×
×
  • Create New...