2016-04-15, 19:50
(2016-03-11, 09:46)Jayz2K Wrote: First one is there's no infolabels for constants (erm yeah, it's constants ...). So the idea is to be able to read the value now they can be set.
An optional window prop writting using the same name and containing the value can do the trick IMO.
The most easy fix is if the script also writes the constants as a skinstring. That way you can use the skin.string value to diaply the value as text.
Also, this same approach can be used to copy any constants because you can just use the skin.string as input.
So, basically I can do this simple changes for you:
1. Also write constant as skin string for easy access to the value
2. Expand the "setskinconstant" with an additional "value" argument so you pass the value directly (for example the skin.string from another constant)
option 3 can be that I also add a "setskinconstants" function so you can pass in multiple constants
Agree ?
EDIT: It was in fact a pretty quick fix so now added to Git:
https://github.com/marcelveldt/script.sk...ludes-file