• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Disable Player Control Over Unit

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
This makes units unselectable, but still targetable. The hide/unhide makes them selectable again, they are back to normal then.


  • Remove Locusr
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Set u = (Random unit from (Units currently selected by Player 1 (Red)))
      • Custom script: call UnitAddAbility(udg_u, 'Aloc')
      • Custom script: call UnitRemoveAbility(udg_u, 'Aloc')
      • Unit - Add Bear Form to u
      • Unit - Order u to Night Elf Druid Of The Claw - Bear Form
      • Unit - Remove Bear Form from u
      • Wait 5.00 seconds
      • Unit - Hide u
      • Unit - Unhide u
 
Status
Not open for further replies.
Top