Crude Height Calculator

This project is abandoned and its default file will likely not work with the most recent version of StarCraft II. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

A very basic "If unit ground height is < point ground height then do X"

I wanted to be able to just pick an action that would figure out the height of a unit without having 15 different triggers.

Note that this is VERY CRUDE and meant for LAZY PEOPLE. If you want something better, keep looking, but this will get the job done if you're just really lazy.

How to use:

CRUCIAL NOTE! When picking units, make sure to disallow structures, items, and resources as all will be read by the action definitions held within otherwise.

  • Decide how to make your condition. Do you need to know the height based on a point like I for triggers like "drowning" or "burning in lava"? Or do you just need to know the height of the unit? Both can be accomplished, but only the one based on a point has been used here.

Please remember this is meant for comparison to a set point on the map. This is not some complex mathematics that will poop out a number for height and then weigh that by a different number to tell if the unit is in a lava pit or not.

  • Decide if you want this to repeat forever, or if you just need it every now and again. The best option is now and again, as too many renditions of this action definition will start to slow your game down something fierce. However, the game starts to get a bit choppy on my computer with about 400 versions of this trigger running on "Repeat Forever" so I'd say if you only need it for 200 or less units, you're good to go.
  • Figure out a buff, debuff, or other action you need to have run when conditions are met. It is set up currently to add a behavior to a unit when conditions are met (it'll come up with some crazy gibberish because your map will not have the same behaviors as mine). This should be pretty straightforward.
  • All you really need to do after this is figure out which unit(s) you need to use it for, use the action definition in an action in a trigger, and pick the unit(s).

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    43080
  • Created
    Aug 9, 2012
  • Last Released File
    Never
  • Total Downloads
    795
  • License

Categories

Members

Recent Files