Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Random movements
Old
lan-k1
Guest
 
Status:
Posts: n/a
Default Random movements - 03-26-2009, 01: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
   
Reply With Quote
Old
draikon3
Guest
 
Status:
Posts: n/a
Default 03-26-2009, 07: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.
   
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.