Jump to content
  • 0

Anyone a tip with scripting...?


Keessie
 Share

You are about to reply to a thread that has been inactive for 3503 days.

Please take a moment to consider if this thread is worth bumping.

Question

Hello All,

As learning day by day in SL I'd like to know the following part:

I have a windmill, scripted for rotating on the wind (direction) and the rotation-speed of the mill itself.

that script is modify so good to learn with.

Will it be possible to create a lamp/light what becomes brighter when the windspeed of SL is increasing and viceversa...?

no wind, no light ofcourse...

searched a lot,  didn't find such a thing yet, not even with my best frien G**gle.

 

Thank's in advance for some advices

 

 

For Jeffrey1:

Nice site,

but did you try yourself by filling in the questions in such way it's making that specific script....??
I did, and how surprizingly: it didn't came out, how is it possible...?
Ofcourse I've been through this and much more to figure out myself before posting.

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Nice site,

 

but did you try yourself by filling in the questions in such way it's making that specific script....??

I did, and how surprizingly: it didn't came out, how is it possible...?

Ofcourse I've been through this and much more to figure out myself before posting.

Link to comment
Share on other sites

  • 0

Hi Keessie, it is possible! I will give you some hints here.

In your script you should have somewhere the llWind(vector offset); this is where you get the windspeed and direction from. What you now need to add is a if to compare if the windspeed is bigger than 0 and then an instruction to make a prim giving light. You might need to add a translation from the windspeed to the lightvalue. I am sure you will have this lightprim linked to the rest... so you should take a look here:

comparing conditions:

http://wiki.secondlife.com/wiki/If

Setting primitive parameters in a linkset:

http://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParams#llSetLinkPrimitiveParams

The general link to the LSL wiki: http://wiki.secondlife.com/wiki/LSL_Portal

The best would be, if we can get this moved to the correct forumsection, because it might be some disscussion about this.

  • Like 2
Link to comment
Share on other sites

  • 0

Hi

sorry late to reply, my computer was so lag up it burn out the hardware, so I use the public library now.

try to IM bateliii resident

the avatar maybe able to help you to use the web site.

or even make the sripte.

my self I do not sripte in game and would like to see more controls on sripteing.

as lots of people test you new attack sriptes out on new avatar in the PG sims.

as there lots of sand boxes in the pg sims.

this I would like to see stop.

well enjoy Sl

Im bateliii resident

byee

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3503 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...