Im having problems with a trgger
im trying to make a trigger that every 3 minutes of the game a random player controlled hero is either given an award or punishment.
like selects a random unit, that unit has a 35% chance of being given 200 gold and also has a 35% to kill the unit and a 46% chance to do nothing but slow the unit by 50% for 3 seconds.
I am mainly having a problem during the jass part of the trigger the call remove part that removes the variable unit from the variable itself.
Also a trigger that teleports all player controlled units.
for example there are 2 teams, each team has their respective base or regions with team 1 having region A and 2 having region B.
Team 1 goes to region 1 and of course 2 goes to B.
After the last person is defeated they will all be teleported to their previous positions.
Then the timer begins a new.
im trying to make a trigger that every 3 minutes of the game a random player controlled hero is either given an award or punishment.
like selects a random unit, that unit has a 35% chance of being given 200 gold and also has a 35% to kill the unit and a 46% chance to do nothing but slow the unit by 50% for 3 seconds.
I am mainly having a problem during the jass part of the trigger the call remove part that removes the variable unit from the variable itself.
Also a trigger that teleports all player controlled units.
for example there are 2 teams, each team has their respective base or regions with team 1 having region A and 2 having region B.
Team 1 goes to region 1 and of course 2 goes to B.
After the last person is defeated they will all be teleported to their previous positions.
Then the timer begins a new.