Jump to content

Reading a list from a notecard


MelodicRain
 Share

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

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

Recommended Posts

Is there any way to store data from both notecards, and only execute a function after both data are ready? It seems right now it calls dataserver twice synchronously, so the first call won't contain notecard2value, while the second call will contain both notecard1value and notecard2value. Rolig's script is not working for me at all (prints empty) while tomm55's script will print the line twice:

First print: notecard1value [blank]
(3-4sec delay)
Second print: notecard1value notecard2value

I guess I need to delay the llOwnerSay until both dataservers are executed?

Edited by MelodicRain
Link to comment
Share on other sites

 

8 minutes ago, MelodicRain said:

Is there any way to store data from both notecards, and only execute a function after both data are ready

That's what both scripts already do. Would be better if you shared your actual script with us, as you have probably changed it, or at least share the important parts.

Edited by tomm55
  • Like 1
Link to comment
Share on other sites

I'll just note that for debugging things in which order is important, llOwnersay isn't 100% reliable; Once in a blue moon it can get things very out of order, and anecdotally, when I've seen it get things out of order, it can do so that consistently wrong in the weirdest ways.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 826 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...