• 🏆 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!

How to order a unit to cast Rain of Chaos?

Level 7
Joined
Mar 16, 2014
Messages
150
The gui command to order a unit to cast rain of chaos is bugged and instead orders the unit to cast rain of fire.

Can somebody post a custom script that orders a certain unit variable to cast rain of chaos at a certain point that's a point variable? Much appreciated.
 
Level 2
Joined
Apr 2, 2023
Messages
3
Sure.

  • Set point = (Center of (Playable map area))
  • Custom script: call IssuePointOrderLoc(GetTriggerUnit(), "rainofchaos", udg_point)
  • Custom script: call RemoveLocation(udg_point)
call IssuePointOrderByIdLoc(GetTriggerUnit(), 852237, udg_point) would also work.
Thank you so much, it finally worked, I spent a few hours trying to figure out why the skill does not want to work, it turns out it is a bug . . .
 
Top