• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] Distance between points condition

Status
Not open for further replies.
Level 2
Joined
Jul 10, 2019
Messages
9
People seem to easily find the distance between point condition. I can't. What are you supposed to click on exactly? The only thing I know is that it's an integer comparison.
 
Level 9
Joined
Jul 30, 2018
Messages
445
All points leak. Basically anytime you make a trigger action and there is a point where you have to replace the default value of (Center of (Playable Map Area)) or (Position of (Triggering Unit)) or whatever, that is always a point, which should be cleaned.

Here you can see how you can check which kind of information the argument wants:

tempsnip.png


And if you look closely, you'll notice that it actually leaks two points, because the distance is measured between two different points. So you need to set two variables, TempPointA and TempPointB, and after that you can make the condition check in an if-then-else statement.
 
Status
Not open for further replies.
Top