I am probably just looking at this incorrectly but I'm looking for a way to call when a specific unit's owner changes different alter's/shrines in this case to indicate when to increase an integer for an objective i have set increases.. but I can't find the correct line help please??
Event
(Any unit from [Unit Group]) owner changes / Since this isn't possible what do I use?
See again I am unsure how you got (Any Unit) owner changes
When I use owner changes line it comes out as
(Unit 1 from [unit group]) owner changes
I could probably just add (Unit 1 from [Alter's]) owner changes (Unit 2 from [Alter's]) owner changes as a way to set the trigger off, but isn't there an ANY I could use?!?
See again I am unsure how you got (Any Unit) owner changes
When I use owner changes line it comes out as
(Unit 1 from [unit group]) owner changes
I could probably just add (Unit 1 from [Alter's]) owner changes (Unit 2 from [Alter's]) owner changes as a way to set the trigger off, but isn't there an ANY I could use?!?
So later after toying with it I found out you can use the Random Unit from Unit Group and in this line instead of living/dead unit it can be replaced with Any unit from unit group. Thanx for the usher though Khaztr
See again I am unsure how you got (Any Unit) owner changes
When I use owner changes line it comes out as
(Unit 1 from [unit group]) owner changes
"Any Unit" is a preset that should be available to use for any event as a <unit> parameter. It's actually the default value for the "Unit owner changes" event. The reason you aren't seeing it is probably because you still have that parameter set to the function "Unit from Unit Group".
Just delete that event and make a new one for "Unit owner changes" and you should see it right away.
So later after toying with it I found out you can use the Random Unit from Unit Group and in this line instead of living/dead unit it can be replaced with Any unit from unit group. Thanx for the usher though Khaztr
The word "Any" in your workaround is saying that the random unit can be either living or dead. It sounds to me like that event won't give you the desired results since I think it's going to just choose a single random unit from that unit group and only trigger when that particular unit changes owner. I could be wrong about that, so please let me know if it works.
BTW, if in fact there are only 2 units in that group, and if that fact will never change, then you might as well do what you said above and provide the 2 specific indexes in that group that point to those units. This would be a little better than what I said above since the event won't fire and check conditions every time a different unit changes owner on your map (which I assume can happen since you're trying to be specific with that event in the first place).
I hope that makes sense. Let me know if it doesn't.
I am probably just looking at this incorrectly but I'm looking for a way to call when a specific unit's owner changes different alter's/shrines in this case to indicate when to increase an integer for an objective i have set increases.. but I can't find the correct line help please??
Event
(Any unit from [Unit Group]) owner changes / Since this isn't possible what do I use?
@JuvialsRequiem: Go
Use:
Event - (Any unit) owner changes
Conditions - (Triggering Unit) is in (<Unit Group>)
@Khaztr: Go
See again I am unsure how you got (Any Unit) owner changes
When I use owner changes line it comes out as
(Unit 1 from [unit group]) owner changes
I could probably just add (Unit 1 from [Alter's]) owner changes (Unit 2 from [Alter's]) owner changes as a way to set the trigger off, but isn't there an ANY I could use?!?
@Khaztr: Go
See again I am unsure how you got (Any Unit) owner changes
When I use owner changes line it comes out as
(Unit 1 from [unit group]) owner changes
I could probably just add (Unit 1 from [Alter's]) owner changes (Unit 2 from [Alter's]) owner changes as a way to set the trigger off, but isn't there an ANY I could use?!?
@JuvialsRequiem: Go
So later after toying with it I found out you can use the Random Unit from Unit Group and in this line instead of living/dead unit it can be replaced with Any unit from unit group. Thanx for the usher though Khaztr
"Any Unit" is a preset that should be available to use for any event as a <unit> parameter. It's actually the default value for the "Unit owner changes" event. The reason you aren't seeing it is probably because you still have that parameter set to the function "Unit from Unit Group".
Just delete that event and make a new one for "Unit owner changes" and you should see it right away.
The word "Any" in your workaround is saying that the random unit can be either living or dead. It sounds to me like that event won't give you the desired results since I think it's going to just choose a single random unit from that unit group and only trigger when that particular unit changes owner. I could be wrong about that, so please let me know if it works.
BTW, if in fact there are only 2 units in that group, and if that fact will never change, then you might as well do what you said above and provide the 2 specific indexes in that group that point to those units. This would be a little better than what I said above since the event won't fire and check conditions every time a different unit changes owner on your map (which I assume can happen since you're trying to be specific with that event in the first place).
I hope that makes sense. Let me know if it doesn't.