activate an object based on random number
Posted: Tue Apr 27, 2021 2:54 am
hi tony i hope you doing well
__________________________________________________
i have a button that randomly show a number from 1 to 100 in the screen
let's assume that i pressed the button and the number was 55
what i want is the following :
if the number was 55 (Active the object 55).
but if i pressed the button and the number was bigger than 55
(ex 80.66.74) inactive the object 55 and active for example (the object74).
but if the number was lower than 55 (ex44.12.33) keep the object 55 active
how can i do that with DS
i know my question look wierd...but i tried some ways but with no success
and thank you
__________________________________________________
i have a button that randomly show a number from 1 to 100 in the screen
let's assume that i pressed the button and the number was 55
what i want is the following :
if the number was 55 (Active the object 55).
but if i pressed the button and the number was bigger than 55
(ex 80.66.74) inactive the object 55 and active for example (the object74).
but if the number was lower than 55 (ex44.12.33) keep the object 55 active
how can i do that with DS
i know my question look wierd...but i tried some ways but with no success
and thank you