Rescued units retain some upgrades from their donor player (movement/attack speed upgrades at least, not energy and sight range). So you could detect if a specific rescued vulture had been killed if you disabled vulture speed upgrade for the human player and then speed tested every vulture at the end.
You could also have a preplaced disabled unit sprite unit which makes it have no hit box, and then enable it, check at the end whether there is such a unit that can be moved on top of another unit. Should note that with a ghost in particular this produces a rock sprite and does crash in 1.16.1 but not in remaster. Proof of concept attached:
Triggers

Trigger("Player 1"){
Conditions:
Actions:
Set Doodad State("Player 1", "Terran Ghost", "enable disabled ghost", enabled);
Order("Player 1", "Terran Ghost", "enable disabled ghost", "enable disabled ghost", move);
Comment("Enable disabled unit-sprite ghost. Issue move to make disabled-enableed ghost reappear. ");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Men", "Victory", At least, 1);
Actions:
Set Switch("Transport test", set);
Create Unit with Properties("Player 2", "Terran Ghost", 1, "Test", 1);
Give Units to Player("Player 2", "Player 12", "Terran Ghost", All, "Test");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Transport test", Set);
Bring("Player 1", "Terran Ghost", "Air-only Anywhere", At least, 1);
Actions:
Move Unit("Player 1", "Terran Dropship", All, "Anywhere", "Unload here");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Transport test", Set);
Bring("Player 1", "Terran Ghost", "Air-only Anywhere", At least, 1);
Actions:
Run AI Script At Location("ExTr", "Air-only Anywhere");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Transport test", Set);
Bring("Player 1", "Terran Ghost", "Air-only Anywhere", Exactly, 0);
Actions:
Set Switch("Transport test", clear);
Set Switch("Test begin", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test begin", Set);
Switch("Test over", Not Set);
Command("Player 1", "Terran Ghost", Exactly, 0);
Actions:
Set Switch("Test over", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test begin", Set);
Switch("Test over", Not Set);
Command("Player 1", "Terran Ghost", At least, 1);
Actions:
Move Unit("Player 1", "Terran Ghost", 1, "Anywhere", "Test");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test begin", Set);
Switch("Test over", Not Set);
Bring("Player 1", "Terran Ghost", "Test", At least, 1);
Actions:
Set Switch("Test over", set);
Set Switch("Secret activted", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test begin", Set);
Switch("Test over", Not Set);
Bring("Player 1", "Terran Ghost", "Test", Exactly, 0);
Actions:
Remove Unit At Location("Player 1", "Terran Ghost", 1, "Anywhere");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test over", Set);
Switch("Secret activted", Set);
Actions:
Display Text Message(Always Display, "*SECRET ACTIVATED*");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Test over", Set);
Switch("Secret activted", Not Set);
Actions:
Display Text Message(Always Display, "*Nothing Activated*");
}
//-----------------------------------------------------------------//
Attachments:
Post has been edited 3 time(s), last time on Nov 18 2026, 4:26 pm by ihjel.
None.