- 0
dont know wy this script not works
You are about to reply to a thread that has been inactive for 2730 days.
Please take a moment to consider if this thread is worth bumping.
Please take a moment to consider if this thread is worth bumping.
Question
Rolig Loon
The place to ask a question like this is the LSL Scripting forum, not Answers. However, your script works just fine. At least, it does exactly what I expected it to. I assume that you are feeding it test values and listening for responses with something like this script:
If I click this script, it sends "c1" to your script, which hears it correctly. If I then click your script, it sends "hide" to my test script and turns a shade of gray. If I click my test script again, your script hears it and stays gray until I click it, at which point it says "show" and turns black. If I then change my test script to say "c7", your script hears it and then, when I click your script, turns gray and says "hide". Just what your touch_start event says that it should do.
It might be easier to see the logic in your touch_start event if you indent it cleanly so you can see the scope of each if test:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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