I though of that, but we can't use any kind of "Text" in any condition (comparison) whatsoever so i won't be able to do any thing with Texts...
I had a system set up to convert the strings to text and then compare the texts , but soon realized that in condition comparisons you can't have texts...
I have the same problem with my map. And btw there is no "Convert Text to String" function. Any progress here? If i knew how to add custom script i would make the function i need, but i don't know much about custom scripts with this editor (i know some basic C++ though).
How do i convert a text to string? There is so built-in function that does this. I'm willing to code a custom script for it but i don't know where to start (I know some C++ but i'm not sure how custom script work in SC2 editor).
Also, is there a way to modify some built-in function definitions...
you can pretty much do anything you want with the current GUI stuff that they have in the editor.
And, you can make your own libraries and templates and functions/definitions so the possibilities are really endless. I'd say give the game a bit more time, people will start making some libraries...
^this, on the top menu, under view, uncheck Raw values.
Raw values will retty much show you how your trigger will sorta look like in script form, back in war3 this was only possible when you converted the whole trigger to script form.
either the editor bugged out on your unit, or you messed up somewhere. Try and compare your stuff to something built in. If everything is the same and it still doesnt work it could be possible that the editor crapped itself... i've had quite a few random problems with this editor where sometimes...
1. make a dummy loop cast silence in that area.
or
2. store all abilities and their levels in variables and once unit steps in region, remove all of its abilities, when it steps out, give them back.
or
3. unit goes in region, remove all of its mana.
this is what i can think of off the top...
1 wait command is ok.
Or if you want you can make a timer for it.
Or you can create a dummy with timed life and when it dies, the spell stops.
whichever works for u.