mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-07-08 20:55:38 -05:00
Updated Scripting (markdown)
parent
e60f9f0a7a
commit
ee971f57bd
|
|
@ -82,7 +82,7 @@ As you can see the frequency at which this condition returns true depends on the
|
|||
|
||||
Registering an action would be identical to the example above, but instead of passing a function which returns a boolean value to `advss_register_condition`, you would pass a function performing your desired actions to `advss_register_action`.
|
||||
|
||||
The boilerplate code mentioned above can be found [here](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.py#L115-L305).
|
||||
The boilerplate code mentioned above can be found here for [Python](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.py#L115-L305) and [Lua](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.lua#L111-L283).
|
||||
Usually you can just copy it directly into your script without any modifications.
|
||||
|
||||
Note that if you should choose to unload the scripts, which define custom macro segments, while custom macro segments are still in use, the plugin will no longer be able to query settings of those custom macro segments.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user