Jump to content

Help With script for RC plane...


iggur
 Share

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

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

Recommended Posts

Hello...

Need help with building a script:

I have rings, what I trying to do is: I have different ring scattered, when the RC plane passing through the rings he earns points, in the end we print the result for the fly.

 

Link to comment
Share on other sites

If I were you, I would use a simple cylinder with a "Ring" texture on it as the detector.  Set the detector to phantom and write your script with llVolumeDetect (TRUE) so that you can detect collisions.  When you get one, use llRegionSayTo to send the information back to a server script to do the statistics.

Link to comment
Share on other sites

You will find short example scripts illustrating both of those functions in the LSL wiki.  The only calculations you need to do are simple addition.  I'd recommend having your target rings just send the UUID of the RC plane that collides with them. That way, all your server script has to do is tally up how many times it hears the same UUID.

Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...