Projects » Keyframe Motion - Region-Crossing with RESUME

This is a modification from the original Keymotion script for trains, boats, etc Posted by Opensimworld 6 years ago, with some modifications.

Fully commented. Added Cross-Region function. It just uses a simple reference to the region corner and does the math!

Also added a Resume feature. Instead of getting slingshotted back to the Starting Point, this will resume the tour at the nearest waypoint. 

One caveat, it may not be the Next waypoint, it may be the last waypoint, depending on where you hit Stop! The logic looks for Nearest.

Two Versions - One is like the original, anyone can touch and run, the other Group Only - just set the vehicle to Group, wear your tag to operate.

Update: Also Added Two New Versions --------

Anyone can touch and Group versions with Region Name logging for each line of the notecard!

This makes it easier to audit your path, when editing Pauses and Speed, if you want to use this one, start fresh!

Since this adds region name labels to each waypoint. If you're updating from the original release, you'll need to re-record your route notecards (ADD POINT / SAVE CARD) — the old 4-field format won't parse correctly here."


Added by: Gundahar Bravin
Last Update: 3 hours ago
Project Category: Utilities
👍 2 like

Code

File name Added By Last Updated Actions
Keymotion Tour Script with Cross-Region and Resume Gundahar Bravin 10 hours ago View
Keymotion Tour Script with Cross-Region and Resume - GROUP Only Gundahar Bravin 10 hours ago View
Keymotion Tour Script with Cross-Region and Resume - GROUP Only - Region Labels Gundahar Bravin 3 hours ago View
Keymotion Tour Script with Cross-Region and Resume - Region Labels Gundahar Bravin 3 hours ago View


Comments

Dude! my hero. i been planning this for so long...i imagine i won't need to do trial and error with chatgpt/codex now. if you were a woman i might kiss you! hahaha just kidding. *friendly handshake and sincere thanks*
like(1)
I have it in two of my ships right now, working flawlessly. I like the Region Naming version, makes it so easy to audit the speeds and pauses! No issues so far with unsitting passengers either!
like(0)
i ran em through gpt and it claims to have found a bug, but it has been highly hit and miss. it was chomping at the bit to combine the 4 into 1, so i let it, and am about to give it a thorough test. Odds are it will have bugs, but if it seems flawless i will let you know!
like(1)
How well does GPT know LSL? LOL
like(0)
it claims it is more useful with ossl than its Codex counterpart. in the past it has been hit and miss, but very useful for a non scripting grid owner like me , whose brain melts if he stares at code too long!
like(1)
Oh, ok. I don't use it so I wouldn't know. I sometimes run Claude for troubleshooting errors in Python code that I write. But for LSL/OSSL scripting, my troubleshooting is in-world, where the rubber-meets-the-road. If i need to debug a script in-world, I'll write debug code into it and enable it.
like(1)
Yeah i wasn't claiming chatgpt was correct or superior...i was claiming the opposite. but for a non scripter who has the iq but lacks the patience for coding; i find it useful.
like(1)
All tools are useful!! Especially if they teach us things. That is what I find.
like(1)
Does it come with a retractable sun-roof? Well done!
like(1)
I'm sure a sun-roof would be an easy add! Thanks for your comment. I have a specialized version that closes the door on my ship, raises the gangway, and starts the propellers and turns on the underwater lighting, depends on what you put it in, you can certainly customize it to include all kinds of features!
like(0)