Alice Community

Alice Community (
-   How do I...? (
-   -   How do I? (

Sgt Moose 06-23-2012 01: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 03: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 05:22 PM

Thank you very much.

If you need anything, just ask me. :)

All times are GMT -5. The time now is 06:35 AM.

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