Anyone get this to work correctly? Simple issue, but it seems as though the min(0) and max(255) have no affect when incrementing or lowering the variable in the Customize Panel. They just go beyond the settings.

I did a search for this, to see if anything had been posted about it, but came up empty.

Here is an example, of how I am writing it, but again, the variable txtRedColor in the Customize Panel(the one you get by right clicking the script in the resource tab), does not adhere to the min and max settings in the cntl tag:

Code:

//section: Text Color
//entry: Red Text Color
//cntl: spin 0 255 1
var txtRedColor = 249;
//section:



Thanks again for any help.

-raiden


"It doesn't matter if we win or lose, it's how we make the game."
--------------------
Links: 3DGS for Dummies