Hey Guys, im having a problem with my metamorphis ability.
Im using it, to make the unit "un-control"-able.
The problem is, when i set the spawned unit-type as a "fly", then War3.exe crashes when im trying to make the unit /:
Im 100% sure, that its because of the metamorphis.
My trigger is:
Im using it, to make the unit "un-control"-able.
The problem is, when i set the spawned unit-type as a "fly", then War3.exe crashes when im trying to make the unit /:
Im 100% sure, that its because of the metamorphis.
My trigger is:
Trigger:
- UnitBought
- Events
- Unit - A unit enters Team1Spawn <gen>
- Unit - A unit enters Team2Spawn <gen>
- Conditions
- ((Entering unit) is A structure) Equal to False
- ((Entering unit) is A Hero) Equal to False
- ((Entering unit) is Summoned) Equal to False
- ((Entering unit) is Undead) Equal to True
- Or - Any (Conditions) are true
- Conditions
- (Owner of (Entering unit)) Equal to Player 1 (Red)
- (Owner of (Entering unit)) Equal to Player 2 (Blue)
- (Owner of (Entering unit)) Equal to Player 3 (Teal)
- (Owner of (Entering unit)) Equal to Player 4 (Purple)
- (Owner of (Entering unit)) Equal to Player 5 (Yellow)
- (Owner of (Entering unit)) Equal to Player 6 (Orange)
- (Owner of (Entering unit)) Equal to Player 7 (Green)
- (Owner of (Entering unit)) Equal to Player 8 (Pink)
- (Owner of (Entering unit)) Equal to Player 9 (Gray)
- (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
- (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
- (Owner of (Entering unit)) Equal to Player 12 (Brown)
- Conditions
- Actions
- Set Income[(Player number of (Owner of (Entering unit)))] = (Income[(Player number of (Owner of (Entering unit)))] + (Point-value of (Entering unit)))
- Unit - Add Unstoppable Order (Metamorphosis) to (Entering unit)
- Unit - Order (Entering unit) to Night Elf Demon Hunter - Metamorphosis
- Unit - Remove Unstoppable Order (Metamorphosis) from (Entering unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Or - Any (Conditions) are true
- Conditions
- (Owner of (Entering unit)) Equal to Player 1 (Red)
- (Owner of (Entering unit)) Equal to Player 2 (Blue)
- (Owner of (Entering unit)) Equal to Player 3 (Teal)
- (Owner of (Entering unit)) Equal to Player 4 (Purple)
- (Owner of (Entering unit)) Equal to Player 5 (Yellow)
- (Owner of (Entering unit)) Equal to Player 6 (Orange)
- Conditions
- Or - Any (Conditions) are true
- Then - Actions
- If ((Random integer number between 1 and 2) Equal to 1) then do (Unit - Move (Entering unit) instantly to (Random point in Team2Spawn1 <gen>)) else do (Unit - Move (Entering unit) instantly to (Random point in Team2Spawn2 <gen>))
- Else - Actions
- If ((Random integer number between 1 and 2) Equal to 1) then do (Unit - Move (Entering unit) instantly to (Random point in Team1Spawn1 <gen>)) else do (Unit - Move (Entering unit) instantly to (Random point in Team1Spawn2 <gen>))
- If - Conditions
- Events