Hi All,
I need to write script as below in MV (it's supposed to be a common event).
Can you advise how to do it or share necessary syntax to do it?
I think it's impossible to do as simple loop in game without script.
---
For each var id (in set range, say 1-80)
if var is 0 then var is 2
Choose at random two var ids (in range) which are equal to 1 and set them to 0
if none vars (in range) are equal 1 during randomization, then change all vars which are equal 2 to be equal 1 (and continue randomization)
---
Also I wonder if I can put this effect in event page: ", for var's id which is equal to this event's id change this var to be equal 3
I need to write script as below in MV (it's supposed to be a common event).
Can you advise how to do it or share necessary syntax to do it?
I think it's impossible to do as simple loop in game without script.
---
For each var id (in set range, say 1-80)
if var is 0 then var is 2
Choose at random two var ids (in range) which are equal to 1 and set them to 0
if none vars (in range) are equal 1 during randomization, then change all vars which are equal 2 to be equal 1 (and continue randomization)
---
Also I wonder if I can put this effect in event page: ", for var's id which is equal to this event's id change this var to be equal 3