I made a trigger that activates with the condition (counting unit for player = 1) for example: counting marine for player 1 = 1 so I made a skill (technically mind control) that change the ownership of the units, so player 1 uses mindcontrol skill to marine, he gets the marine and counting marine for him is 1, but Trigger wasnt activated.
A better option might just be to use the "Unit Uses Ability" event. You can just have the action fire whenever your unit casts the ability. If that won't work for whatever reason, you can also try the"Effect Used" event and have it trigger upon the use of your ability's main effect. Either of these options should fire your trigger upon the use of the ability :)
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
I made a trigger that activates with the condition (counting unit for player = 1) for example: counting marine for player 1 = 1 so I made a skill (technically mind control) that change the ownership of the units, so player 1 uses mindcontrol skill to marine, he gets the marine and counting marine for him is 1, but Trigger wasnt activated.
anyone have any idea about it?
A better option might just be to use the "Unit Uses Ability" event. You can just have the action fire whenever your unit casts the ability. If that won't work for whatever reason, you can also try the"Effect Used" event and have it trigger upon the use of your ability's main effect. Either of these options should fire your trigger upon the use of the ability :)
@zeldarules28: Go but my trigger is players win when one of them has ownnership of the maps, and other players always can capture them too.
any idea?
I don't know if this is your problem, but every trigger has to have an event to be triggered (or be called from another trigger).
If you place a condition in a new trigger and don't say to the trigger when to check that condition, it will never do that.
So, if you want to activate the trigger if that condition is true, you should create a periodic event to check that condition each while.
Check out my kitbashes! Custom Campaign Initiative: Lots of great Custom Campaigns!! Check out and Support!!
Tried using the unit changes owner event?
@hobbidude: Go
change owner event fixed it thanks!