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 :(.


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

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.

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.


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.


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


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.


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.


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:23 pm]
Voyager7456 -- excuse me I would like to report a violation of SEN rules
[11:31 am]
lil-Inferno -- :ban:
[11:06 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: lil-Inferno true, I do care about being able to say Nigger
:lol: I almost went there but figured I'd stirred up the shit enough lately
[05:53 pm]
Zycorax -- :O
[03:58 pm]
MTiger156 -- 0_0 I am shook :ban:
[03:40 pm]
Wing Zero -- :ban:
[02:08 pm]
lil-Inferno -- why exactly are you a global mod again? lmao
[01:54 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: true gamers only care about being able to say the n word
true, I do care about being able to say Nigger
[2021-9-26. : 12:56 pm]
IlyaSnopchenko -- It doesn't have anything to do with the type of monitor, provided the monitor is a good one
[2021-9-26. : 12:56 pm]
IlyaSnopchenko -- 1.16 does look better than SD in SCR because of the way the latter smoothes (=muddles) the graphics
Please log in to shout.

Members Online: Roy, Bruce, C(a)HeK