• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Disable Player Control Over Unit

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
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