PDA

View Full Version : Engine Oddities: "At most" vs. "Exactly"


UED77
12-31-2005, 2:59 AM
Searching through StarEdit.net, I stumbled upon an old thread (http://www.staredit.net/index.php?showtopic=17753), in which a user complained that units in transports were not detected correctly.
After testing, I came to the conclusion that "at most" does not work as intended when units are in the air. In fact, it does not work at all.

Could we, as a team, look into this issue? It would be great if you could prove (or disprove) my findings.

UED77

SuiCidAl-KiSmEt
12-31-2005, 10:34 AM
Well, StarEdit doesn't do a lot things you ask it to. Like...

*Telling a computer to attack move to a location and ends up just walking to a location.
*Setting up a score board and making people start out with 300 points and ends up in the
game with 830 total points.
*Teleoporting a unit to a location and ends up couple of inches away from where you want it to be.

There are a lot of other things like this, the best way is just to use your imagination to figure a way around them.

EdvardMunch
12-31-2005, 12:48 PM
Your findings are true, and there's a bit more to them: the At Most command does not detect units when they are in bunkers either. Apparently, once a unit enters something, as far as the At Most command is concerned, it doesn't exist. The At Most command still works with flying units and ground units not inside of transports or bunkers.

At Least and Exactly still works, so we need only three triggers to get past the problem with At Most.

If our trigger is something like:

- Player 2 brings at most 3 Terran Marines to "Dropzone"

- Add 5 minerals
- Preserve Trigger

Then we can replace that with...

- Player 2 beings at least 0 Terran Marines to "Dropzone"

- Set "Add 5 minerals"
- Preserve Trigger


- Player 2 beings at least 4 Terran Marines to "Dropzone"

- Clear "Add 5 minerals"
- Preserve Trigger


- "Add 5 Minerals" is set

- Add 5 minerals to player 2
- Clear "Add 5 Minerals"
- Preserve Trigger

This glitch has its own uses. Namely, we can detect when a player has loaded all or a certain amount of units into a dropship or bunker.

SaLtMaN
01-01-2006, 5:45 PM
Well, StarEdit doesn't do a lot things you ask it to. Like...

*Telling a computer to attack move to a location and ends up just walking to a location.
*Setting up a score board and making people start out with 300 points and ends up in the
game with 830 total points.
*Teleoporting a unit to a location and ends up couple of inches away from where you want it to be.

There are a lot of other things like this, the best way is just to use your imagination to figure a way around them.

I haven't tested the first point you made, but the other two would certainly work, if you knew how to work the leaderboard and if you knew a thing or two about locations/how they work.