Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting illusion with triggers
Detecting illusion with triggers
Apr 23 2017, 9:10 am
By: SPyro_Malin  

Apr 23 2017, 9:10 am SPyro_Malin Post #1



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.

Apr 23 2017, 10:23 am Oh_Man Post #2

Find Me On Discord (Brood War UMS Community & Staredit Network)

Quote
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.





Apr 23 2017, 11:46 am MetalGear Post #3



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.

Apr 23 2017, 11:56 am SPyro_Malin Post #4



That is good idea, I will use this in other map but it doesn't help me right now :P.



None.

Apr 23 2017, 4:13 pm NudeRaider Post #5

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

Quote from SPyro_Malin
it doesn't help me right now :P.
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:
Quote
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.




Apr 23 2017, 4:33 pm LoveLess Post #6

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.

Apr 23 2017, 4:48 pm SPyro_Malin Post #7



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.

Apr 24 2017, 3:39 pm Sie_Sayoka Post #8



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.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
Please log in to shout.


Members Online: jun3hong