PDA

View Full Version : Random movements


lan-k1
03-26-2009, 02:28 AM
Hi,

Im trying to move an object over to one of three other objects in a random order and Im getting stuck on the if statement. Im using a=b math operator set to integer only between 1 & 3, but this is where I get stuck. Can someone please help me? Thankyou for taking time to read this :)

draikon3
03-26-2009, 08:52 AM
use the function, choose random number between 1 and 3, set the variable to that value. make sure you choose integer's only.