Difference between revisions of "Script Processing"
Jump to navigation
Jump to search
m
→Remote Ref Heartbeat
imported>Skyranger-1 |
imported>UDUN |
||
|
== Remote Ref Heartbeat ==
Whenever a local variable on a persistent ref is set, the script of that reference will be run in the next frame. Hence if a script continually sets a variable on itself, then it will continue to run
;Positive: This can be used to effectively keep a remote reference in "high processing". E.g. if items are stored in a remote container, then ordinarily the OnDrop and OnUnequip blocks of those items will not be run since the container is not local, and thus not in high processing. But by "heartbeating" he remote container ref, the item blocks can be made to run.
| |||