macros:example:setplaybacklockstate
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
macros:example:setplaybacklockstate [2018/12/23 16:54] – created icke_siegen | macros:example:setplaybacklockstate [2019/04/27 15:08] (current) – [Set a playback's lock state] sideshowbond | ||
---|---|---|---|
Line 1: | Line 1: | ||
Example | Example | ||
- | ====== Set a playback' | + | ====== |
^ by: | Alex del Bondio/ | ^ by: | Alex del Bondio/ | ||
Line 99: | Line 99: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | >Setting the property on its own is not enough as it is only used for display purposes and does not update the handle properties when it is changed. Since the SetLockState function requires an Enum type and not a string you need to either create an Enum value using Math.ToEnum or set Handles.SourceHandle.LockState to the correct value and pass that in. | ||
===== How to use it ===== | ===== How to use it ===== |
macros/example/setplaybacklockstate.1545584047.txt.gz · Last modified: 2018/12/23 16:54 (external edit)