Jump to content

Jeredin Denimore

Resident
  • Posts

    96
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. Ahh I missed Crystal's reply for some reason and yes, I'm very much aware of the lack of "quiet"-ness. Just seemed to me, like so many posts in this forum and many others, that it had traveled in a direction not in keeping with the OP. But hey, just recently came back to SL after an absence and felt like diving back in It would certainly be nice to have some form of pre-processor directives and most certainly a versioning system added into it as well. Something like: #include my_library.lsl or even... #include-latest my_library.lsl and have it compare the script's version number so you could automatically push the latest version at compile time and even force a recompile at run-time if required.
  2. Well a "chain" script or any particle script designed to create what appear to be a physical link between two prims is implemented using the particle system as a projector object and a target object. The script is placed in the projector object and it fires the particles. That script is then given the UUID of the target object so that all its particles will travel towards the target prim. Look for PSYS_SRC_TARGET_KEY and that is where the target prim's UUID goes.
  3. It appears nobody is actually answering the OP's question hehe. Although I did like reading the responses... the OP is/was asking if you could use preprocessing run-time... not compile-time. You can't. Having scripts be able to communicate with each other is nice for having your script talk to a function library you also placed in the prim but doesn't address the OP's issue with the library changing and needing to be updated. You have a few options but, in general, I'd have your objects check their version number vs a response given by a "server" you run and then do one of two things... tell the user they are out of date and send them a new copy of the object or quietly push the new scripts to the object and update it yourself. That is how most people "implement" function libraries/script updating given that there is no way to use preprocessor directives at run-time such as #include.
×
×
  • Create New...