Is there a way to detect illusion on location, or just illusion spell being used?
I've noticed interesting think years ago:
Bring doesn't detect illusion
Kill can destroy illusion when in location there is a unit that is meant to be killed and illusion of that unit (if illusion is on the left unit will survive)
but that doesn't help me at all in detecting illusion spell being used anywhere
.
None.
Find Me On Discord (Brood War UMS Community & Staredit Network)
Hallucinations cannot be detected in trigger conditions. However, the Move Location trigger can still always move a location onto the leftmost specific unit even though the leftmost one is a hallucination.
I use a basic system in one of my maps to detect a hallucinated unit. I use a trigger that moves a location permanently onto my specific unit, which happens to be Fenix (Dragoon). I also pre-place a Fenix (Dragoon) to the lower right corner of the map with a Zergling owned by player 12 burrowed beneath this unit. Then, I have a trigger that checks whether or not the location I use to track my unit detects a Zergling. If the Zergling is at the location, then I know a hallucinated unit doesn't exist.
None.
That is good idea, I will use this in other map but it doesn't help me right now
.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
it doesn't help me right now
.
Why not? Do you need to detect it without knowing the type of unit that has been hallucinated? Because then I agree that it's near impossible with that option.
But what about this:
The Give Unit and Modify Unit Energy trigger actions do not affect Hallucinations.
Otherwise we could get it to work, if we knew more about the requirements.
Let me show you how to hump without making love.
Unfortunately, the only foolproof method is the on Metalgear suggested. It's just something you are going to have to incorporate into your map.
Give us more information and we can create some solutions to fit your needs.
None.
What i was trying to do, was run trigger whenever illusion spell is cast, or when illusion unit enters location with amount of units i cannot predict.
None.
You can still use that method assuming the player doesn't have the same type of units that can be hallucinated within the playable area.
None.