I have an event to "Unit is attacked" and it looks like this: Unit - Any Unit is attacked with Any Weapon.
For the condition I need it to be player 14 so I pick "Owner of triggering unit ==14". However "triggering unit" is grayed out.
For the actions I need "Damaging unit", but this one is also grayed out. "Attacking unit" is also gray, and the event says I should be able to use these. What's going on??
The GUI editor, although convenient, sometimes doesn't properly display what functions work for specific events. Although it is greyed out, it should still work.
For example, a lot of triggers have the "Triggering Player" function greyed out, but it will still return you the "Triggering Player" if you use the greyed out version.
Give it a shot and let me know if it works.
Yes, it does work. I was getting error messages but it was for something else. Anyway, I use "Unit takes damage" as the event instead, since the options are not gray there. Works the same also. Thanks
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have an event to "Unit is attacked" and it looks like this: Unit - Any Unit is attacked with Any Weapon.
For the condition I need it to be player 14 so I pick "Owner of triggering unit ==14". However "triggering unit" is grayed out.
For the actions I need "Damaging unit", but this one is also grayed out. "Attacking unit" is also gray, and the event says I should be able to use these. What's going on??
The GUI editor, although convenient, sometimes doesn't properly display what functions work for specific events. Although it is greyed out, it should still work.
For example, a lot of triggers have the "Triggering Player" function greyed out, but it will still return you the "Triggering Player" if you use the greyed out version. Give it a shot and let me know if it works.
@gerudobombshell: Go
Yes, it does work. I was getting error messages but it was for something else. Anyway, I use "Unit takes damage" as the event instead, since the options are not gray there. Works the same also. Thanks