Skip to main content

Additional configuration

You can configure the system in the SPS-Protect/SPSDetectorLogic udon script.

SPS-Protect options

System Enabled is meant to be changed with other udon programs, if you want to disable the system on part of your map.

Pen System Detected is a read-only variable that is meant for other udon programs to check the detection state. This is meant for additional code a creator might want to add to the system.

Send To Jail On Detection determines if a player is even meant to be sent to the jail cell on detection.

Send Back After Disabled determines if a player is sent back to his original location after they turn of their systems.

Check Interval determines how often the system checks for active systems. Default is every 1 second.

The rest of the options only need to be changed if you make your own jail. You can use the provided one as a reference.