Alright, i saved my map and JassHelp said i have a compilation error, i have no idea how to fix this and i dont know whats wrong, so here is a screen of the Jass helper. And the trigger its refering to.
-
Waygate 2 Order
-
Events
- Unit - A unit enters Move 2 <gen>
-
Conditions
- (((Triggering unit) is A Hero) Equal to False) and (((Entering unit) belongs to an enemy of Player 1 (Red)) Equal to True)
-
Actions
- Set L = (Position of (Entering unit))
-
Unit Group - Pick every unit in (Units within 500.00 of L matching ((Unit-type of (Matching unit)) Equal to Battle Tower)) and do (Actions)
-
Loop - Actions
- Unit - Order (Entering unit) to Right-Click (Picked unit)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_L)
-
Events