Unselectable for a period of time

Level 28
Jan 26, 2007
To add the ability:

  • Custom script: call UnitAddAbility(Unit, 'Aloc')
This will add the locust ability to a unit.
"Unit" should be the unit you want to give locust (e.g.: if you set that unit to a variable called "LocUnit", it should be "call UnitAddAbility(udg_LocUnit, 'Aloc')").

Unfortunately, the function "call UnitRemoveAbility" doesn't work for locust.
So in that case, I recommend you to re-create the unit completely (remove the locusted unit and create a completely similar unit at the exact location, with the exact stats etc).
Hold on, I'll create a function for that (the unit's a hero, right?)
Level 37
Mar 6, 2006
Yeah, you can undo the changes Locust makes.

*Remove Locust from the unit
*Hide then unhide
*Use Metamorphosis

  • Remove Locust
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Game - Display to Player Group - Player 1 (Red) the text: Locust Added
      • Custom script: call UnitAddAbility( udg_u , 'Aloc' )
      • Wait 4.00 seconds
      • Game - Display to Player Group - Player 1 (Red) the text: Removing Locust
      • Custom script: call UnitRemoveAbility( udg_u , 'Aloc' )
      • Unit - Hide u
      • Unit - Unhide u
      • Custom script: call UnitAddAbility( udg_u , 'A000' )
      • Custom script: call IssueImmediateOrder( udg_u , "metamorphosis" )