• 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.

Custom Scripts Problem

Status
Not open for further replies.
Level 9
Joined
Sep 15, 2012
Messages
311
I wanted to use something like this:

  • Set UnitsBlue = (Units in (Playable map area) owned by Player 2 (Blue))
  • Unit Group - Pick every unit in UnitsBlue and do (Unit - Make (Picked unit) Invulnerable)
  • Custom Script: call DestroyGroup(udg_UnitsBlue)
The map loads properly if I remove the last line
 
Yup it's true, custom scripts break your map. I don't know the answer yet, anyone else is welcome to come in and tell. Otherwise I shall investigate. You could try the custom GUI that is custom script. There's a few I know in there, I don't know if it is there for all the leaks. There's custom GUI that lets you use custom script in the format of normal GUI in the actions.
 
Status
Not open for further replies.
Top