I have used the script attached here to export models in the .mdl format.
EDIT:
And also this: http://world-editor-tutorials.thehelper.net/magos.php#model8
Ye I noticed that after. I am not quite sure how to test that. This could probably show it:
Noob Test 4
Events
Unit - A unit Dies
Conditions
Actions
Set IsRunning = True
Trigger - Run Noob Test 4 Execute 1 <gen> (ignoring conditions)
Set...
It looks like "Triggering Unit" persists through the different triggers. A small test can show it:
Noob Test
Events
Unit - A unit Dies
Conditions
Actions
Game - Display to (All players) the text: (Name of (Triggering unit))
Trigger - Run Noob Test...
It shouldn't matter much.
GetTriggerUnit()
GetDyingUnit()
are both natives and if he uses dying unit, he wouldn't get confused later, even if Triggering Unit is faster.
Create new units where? If he use the palette in the editor they will automatically be counted in this.
If he create them using a trigger he just adds the following below the unit creation:
Set Integer = (Integer + 1)
Unit - Set the custom value of (Last created unit) to Integer
Set...
A simple respawn system could look like this:
First we set the creep respawn points, using their own unique custom value.
Creep Setup
Events
Map initialization
Conditions
Actions
Set TempGroup = (Units owned by Player owning your creeps!)
Unit Group - Pick...
Thanks alot, there is just one thing I don't understand then. I have another trigger where I use a wait too, but it works without storing data?
I see if I can fit the trigger in a private message, if you want to take a look at it.
In addition to this:
You can also make a dummy ability based on an aura with no effects, but with a buff. After that you can periodically select units and check if they have your specified aura buff and do actions.