Zanderist
New Member
- Reaction score
- 5
So I've been able to recreate Bogrim's triggers with no problems what's so ever.
I want to know what the code is translated to us humans.
What do things like Call and Get mean?
What are the other commands?
For example.
Local unit, I'm guessing means the immediate unit getting effected.
u of course is the variable.
As for GetSpellTargetUnit.
I see that broken up into a string of commands.
Get - I don't understand this, does it mean "retrieve this data"
And then so forth
Spell - A spell is being used on
Target - what the triggering unit's action is being directed towards.
Unit- this is further discrimination for the script because I can see the word unit being replaced with structure or doodad.
Another question I have which might be a little easier to answer is, how do I create a ring around something.
For example the trigger in Elemental TD where you select a unit and type in "-range xxxx" a ring is created around the unit that has the diameter of the x values.
How do I create a ring trigger?
I want to know what the code is translated to us humans.
What do things like Call and Get mean?
What are the other commands?
For example.
local unit u = GetSpellTargetUnit( )
Local unit, I'm guessing means the immediate unit getting effected.
u of course is the variable.
As for GetSpellTargetUnit.
I see that broken up into a string of commands.
Get - I don't understand this, does it mean "retrieve this data"
And then so forth
Spell - A spell is being used on
Target - what the triggering unit's action is being directed towards.
Unit- this is further discrimination for the script because I can see the word unit being replaced with structure or doodad.
Another question I have which might be a little easier to answer is, how do I create a ring around something.
For example the trigger in Elemental TD where you select a unit and type in "-range xxxx" a ring is created around the unit that has the diameter of the x values.
How do I create a ring trigger?