i made this trigger
Player Heroes
Events
Units - A unit enters All Heroes Ready <gen>
Conditions
((Unit-type of (Entering unit)) Different then Wisp) and ((Owner of (Entering unit)) Equal to Player 1 (Red))
Actions
Set Player1_Heroes[1] = (Player1_Heroes[1] + 1)
then
Untitled Trigger 001
Events
Time - Every 2.00 seconds of game time
Conditions
Player1_Heroes[1] Equal to (Number of units in (Units owned by player 1 (Red) matching (No unit type Different then Wisper)))
Actions
Trigger - Turn on Cinematic <gen>
Trigger - Run Cinematic <gen> (checking conditions)
it should run a cinematic once the variable is equal to the number of owned units (different to Wisp) by player 1 (red) ,but i cant get it right![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Player Heroes
Events
Units - A unit enters All Heroes Ready <gen>
Conditions
((Unit-type of (Entering unit)) Different then Wisp) and ((Owner of (Entering unit)) Equal to Player 1 (Red))
Actions
Set Player1_Heroes[1] = (Player1_Heroes[1] + 1)
then
Untitled Trigger 001
Events
Time - Every 2.00 seconds of game time
Conditions
Player1_Heroes[1] Equal to (Number of units in (Units owned by player 1 (Red) matching (No unit type Different then Wisper)))
Actions
Trigger - Turn on Cinematic <gen>
Trigger - Run Cinematic <gen> (checking conditions)
it should run a cinematic once the variable is equal to the number of owned units (different to Wisp) by player 1 (red) ,but i cant get it right