Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   How do I? (http://www.alice.org/community/showthread.php?t=9323)

Sgt Moose 06-23-2012 02:30 PM

How do I?
 
How do I make an object do something when another object is within a certain distance of it (ex. a bullet and an enemy) %(

TauTrumpsPi 06-23-2012 04:03 PM

Pull an if statement out of the bottom

Then go to your object, click it, and then click "functions", the third option. Then, drag the "object distance to object" function to the true section of the if block, and fill in the correct parameters.

Fiddle with the distance until it works, and voila, it works.

Sgt Moose 06-23-2012 06:22 PM

Thanks
 
Thank you very much.

If you need anything, just ask me. :)


All times are GMT -5. The time now is 12:16 PM.

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