HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with a Condition

04-17-2004, 07:10 AM#1
Locoh8u
Here's the current Condition..

If - Conditions
(Owner of UnitVariable) Equal to Player 11 (Dark Green)

Here's what i want..

If - Conditions
(Owner of UnitVariable) Equal to Allied with Player 11 (Dark Green)


Is there a way to do that in conditions?

ALSO.. Is there a way to make a condition check if 'Xunit is within X range of Xunit'
04-17-2004, 08:26 AM#2
Kamux
For the first one, you can use a boolean comparison and check if the unit is an ally of player 11.

For the second one, you can use a real comparison to check the distance between the two units.