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

Creating and converting custom leak patches

Status
Not open for further replies.
Level 12
Joined
May 9, 2009
Messages
735
I am trying to fix the massive amount of trigger leaks on my map which makes it unplayble and ran into an issue as I know very little about JASS. All the tutorials mention that a custom script has to be added to destroy a group or a location but these same tutorials assume that the reader is aware of how to do this.

I got as far as being able to press 'edit' and 'convert to custom text' but then several question arise. Do I keep all the 'function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
endfunction'
things or do I remove them? If I do keep them, how does the custom text fit into it? Once I enter the custom text e.g. 'call DestroyGroup (udg_Temp_Group)' how do I convert to a GUI format to add to the end of my initial GUI trigger?
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
What you are looking for is eg.
  • Custom script: call RemoveLocation (udg_Temp_Point)
You can find it under Actions - General

What you actually did is change the script into the JASS layout (which is horribly inefficient at first).
If you want to make use off jass, it's highly advisable to write the scripts yourself - from scratch.
 
Status
Not open for further replies.
Top