Allow strings and numbers as (default) values for level arguments
Would affect launch session action and level config arguments.
Question is how value and item reference would be distinct when defining the argument
Launch Session
If you want to forward an item reference you need to wrap it ([[Player]]
). If the variable does not reference an item it of course is just forwarded as a value. Otherwise you would alwayes forward a string value. Maybe then it makes sense to allow string and number types. Maybe thats enough and if you want to forward an array or object thats not an item, you need to define a variable beforehand.
Or would it make sense to only allow variables? I don't come up with a use case where it would be super pracitcal to forward a specific value.
Level Config
I like: When I start a level I can not only reference an item but also some simple value to forward. E.g. I run a show and I have different presets that I want to select when starting the shows session(s).
What would this look like in the level config settings?
A) simple values as default will coexist with the option to forward a default item reference selecting a collection and query/name
B) Its only one field for default values and instead of a value you can use dot .
syntax to address items.
I like the simplification of B, though its somewhat problematic that you can use "variables" inside a default argument assignment.