I have a problem concerning summoned units (e.g.: hallucinations): I need to issue one of several orders to the hallucination based on the unit group the Sentry is in. But I can't find a way to access both the Sentry that cast the hallucination and the hallucination itself in one trigger. If I use “Unit Uses Ability” the Sentry is the “Triggering Unit” but there is no parameter for the created hallucination. If the event is “Unit Is Created” or “Unit Enters Region” I can recall the hallucination but not the Sentry. I have the same problem when an Infestor creates infested Terrans or an Archon is merged from two Templars. I can't refer to the creator and the created unit at the same time. Any ideas on how to solve this?
In theory, when using the Unit Is Created event, you should be able to use the Triggering Effect Unit; it should work for a unit, which is created by an effect. The triggering effect unit provides several parameters to choose from, like Source, Target or Origin, the same options available in most data effect targeting options. With these, you should be able to fetch both the sentry and the hallucination.
Thanks for the quick reply. Triggering Effect Unit works perfectly but the event has to be Effect Used instead of Unit Is Created. I've been trying to do this for quite a long time but somehow overlooked Triggering Effect Unit. Thanks a lot.
Problem solved.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I have a problem concerning summoned units (e.g.: hallucinations): I need to issue one of several orders to the hallucination based on the unit group the Sentry is in. But I can't find a way to access both the Sentry that cast the hallucination and the hallucination itself in one trigger. If I use “Unit Uses Ability” the Sentry is the “Triggering Unit” but there is no parameter for the created hallucination. If the event is “Unit Is Created” or “Unit Enters Region” I can recall the hallucination but not the Sentry. I have the same problem when an Infestor creates infested Terrans or an Archon is merged from two Templars. I can't refer to the creator and the created unit at the same time. Any ideas on how to solve this?
Hey War Cheese ;)
In theory, when using the Unit Is Created event, you should be able to use the Triggering Effect Unit; it should work for a unit, which is created by an effect. The triggering effect unit provides several parameters to choose from, like Source, Target or Origin, the same options available in most data effect targeting options. With these, you should be able to fetch both the sentry and the hallucination.
Hey Chicks 531 ;)
Thanks for the quick reply. Triggering Effect Unit works perfectly but the event has to be Effect Used instead of Unit Is Created. I've been trying to do this for quite a long time but somehow overlooked Triggering Effect Unit. Thanks a lot.
Problem solved.