i made an instance variable that represents an attack type, i made so every 4 second the number of the variable changed to a random value between 1 to 3 (every number represented an attack)
but it didn't worked, once i checked the debug preview i found out why
the string random(1,3)
Also counted decimals, throwing me numbers like 1.84932515 instead of 1, 2 or 3
how do i round up the numbers?