- Joined
- Feb 3, 2019
- Messages
- 529
- Reaction score
- 275
- First Language
- thai
- Primarily Uses
- RMMV
sory It work
just my typo on var Lang and lang in other line -***-
-----------------
my code
var Lang = $gameSwitches.value(20) === true ? 1 : 0 ;
I want to use this in array work
I know I can just check boolean and set it or use variable instead
but this format is interesting me
var i = result ? 1 : 0;
I found in stackoverflow web
and in orher plugin that I open to learn
but when I try it my self it not work
thank you
just my typo on var Lang and lang in other line -***-
-----------------
my code
var Lang = $gameSwitches.value(20) === true ? 1 : 0 ;
I want to use this in array work
I know I can just check boolean and set it or use variable instead
but this format is interesting me
var i = result ? 1 : 0;
I found in stackoverflow web
and in orher plugin that I open to learn
but when I try it my self it not work
thank you

