Set StructureHealth = (Integer((Life of (Triggering unit))))
Just change triggering unit to your structure. You might need to set the castle as a variable if it is not pre existing.
I'm not exactly sure what you mean in the first part, but you can use triggers to set the structure to a variable and then the structures health into a variable. Please elaborate.
Ok i get it now, basically he wants an imaginary circle around the hero. (x). Now the hero will then proceed to teleport to different spots on this circle. After each teleport he wants the hero to charge forward damaging any hero he is touching and stopping at the end of the circle before...
Abominable Troll!
Proper Name:Thurg
A large angry smelly cave troll! He uses sheer size and mass to overcome his foes. http://www.hiveworkshop.com/forums/models-530/cavetroll-168203/?prev=d%3Dlist%26r%3D20%26mmr%3D4
Primary: Strength
Others:Agility(low),Intelligence(very low)
Skills...
Well i remember that groups leak, but I'm sure you can take out the leaks and modify this trigger to your needs. This is just something to get you started.
Creep Level
Events
Unit - A unit Gains a level
Conditions
(Owner of (Triggering unit)) Not equal to Player 12...
This is the simplest one i could think of off the top of my head. I'm not sure if it leaks I haven't messed with World Editor for a while so...
Prevent Attack
Events
Unit - A unit Is attacked
Conditions
(Owner of (Attacking unit)) Equal to Player 12 (Brown)
Actions...
No i didn't understand right. Thought he just wanted another mass blink or such like mass teleport.
Edit: link to memory leaks >>http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27219
If it is a custom model then i would check your paths. If your new to importing then http://world-editor-tutorials.thehelper.net/models.php. Otherwise idk check if it is using a valid model and path and such.
Well random hero triggers are more complicated then they seem usually you have to have all the heroes set into an array blah blah thats why i suggested looking at the dota template which has an ar example in it
Use a Periodic trigger and check if there are any alive if not defeat them (Number of units in (Units in (Playable map area) owned by Player 1 (Red))) Equal to 0
Something around there, IF i understand you right :/
There is probably another way idk if this leaks i would think not as its just...
Have a aura on the plants. When a unit comes within X range of a plant give them invisibility.Periodic, Check for buff if equal to false, remove whatever means of invisibility you gave them.
The second one i don't know. I don't think so with GUI but i might just not know how so....