macros:example:playbackgroupcreateadd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
macros:example:playbackgroupcreateadd [2021/06/12 18:40] – ''Playbacks.FilterByPlaybackHandle()'' icke_siegen | macros:example:playbackgroupcreateadd [2021/06/13 14:53] (current) – icke_siegen | ||
---|---|---|---|
Line 11: | Line 11: | ||
Playback Groups were introduced with Titan v13, January 2020. This functionality is not available in earlier versions. | Playback Groups were introduced with Titan v13, January 2020. This functionality is not available in earlier versions. | ||
+ | |||
+ | Gregory Haynes' | ||
This example is meant to show how Playback Groups are created, how playbacks are added, how the various parameters are conveyed, and which caveats need to be taken care of. Particular attention should be paid to setting IEnureables. | This example is meant to show how Playback Groups are created, how playbacks are added, how the various parameters are conveyed, and which caveats need to be taken care of. Particular attention should be paid to setting IEnureables. | ||
Line 19: | Line 21: | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
+ | * [[: | ||
* [[: | * [[: | ||
Line 121: | Line 124: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * ''" | + | * ''" |
==== Macro 3 ==== | ==== Macro 3 ==== | ||
Line 130: | Line 133: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | ==== Macro 4 ==== | ||
+ | |||
+ | A playback identified by its user number (see [[#Macro 3]]) is added to a specific playback group. This is denoted by its user number which requires additional casting. | ||
+ | * '' | ||
+ | * '' | ||
+ | * ''" | ||
+ | |||
+ | ==== Macro 5 ==== | ||
+ | |||
+ | A playback identified by its user number (see [[#Macro 3]]) is added to a specific playback group. This is denoted by pointing PlaybackGroups.CurrentPlaybackGroup to the user number of the playback group - no additional casting required, and the property PlaybackGroups.CurrentPlaybackGroup is set for future operations as well. | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * ''" | ||
+ | |||
+ | ==== Macro 6 ==== | ||
+ | |||
+ | **This macro has not been tested.** | ||
+ | |||
+ | Similar to [[#Macro 2]]. Two playbacks, identified by their TitanIDs, are added to the current playback group. Note that this relies on the current playback group being set previously (creating it in the macro above makes it current). As the TitanID is an internal thing and cannot be set manually nor predicted reliably is of limited use here. | ||
+ | * '' | ||
+ | * '' | ||
+ | * ''" | ||
===== How to use it ===== | ===== How to use it ===== | ||
- [[: | - [[: | ||
+ | - macros 1~5 have successfully been tested - simply create some playbacks with the relevant user number and fire the macros to see how they work. However these macros might be useful only in special cases, e.g. in setup macros which prepare the console for you following a fixed scheme. | ||
+ | - macro 6 has not been tested as using TitanIDs in macros is only of limited use - it's not easy to determine or predict the TitanID of a particular item. | ||
- | tbd | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ |
macros/example/playbackgroupcreateadd.1623523218.txt.gz · Last modified: 2021/06/12 18:40 by icke_siegen