M
Mythic Fr0st
Guest
Thanks all, Aphoc posted twice! he must love me lol...
is anyone ever gunna request a trigger?
is anyone ever gunna request a trigger?
(Terrain type at Loc[1])...
(Terrain type at Loc[2])...
Event
A unit is issued an order targeting a point
function helloworld takes nothing returns nothing
local string s = "Hello World"
call DisplayTextToForce(GetPlayersAll(), s)
endfunction
Not so, triggering unit can refer to
~ Entering unit
~ Triggering unit
~ Ordered unit
~ A unit sells a unit (refers to the unit selling)
Just an example
Triggering unit refers to whatever unit triggered the event
Unit is issued an order targeting a point
~ Ordered unit
Unit is issued an order targeting a point
Newbie question: I don't know what array means nor the meaning of the word 'index' in the word, "variable[index]".
Newbie question 2: Adding units into a unit group and then ording the unit group.
Events
Map initilization
Conditions
Actions
Unit Group - Add (Select off map your unit) to Group
(//Repeat this for each unit you want in it//)
Unit Group - Order Group to move to Your_Region
A unit is issued an order targeting a point, is an order event, therefore Triggering Unit refers to it
Triggering Unit, means the unit that caused the event to run
A unit is issued an order targeting a point, triggers whenever you make a unit move, and triggering unit refers to it because "it" was the unit that triggered the event
I cant finde this one......
*******************
Then - Actions
{A}[Unit] - Make (Triggering unit) face (Target point of issued order) over 0.00 seconds
*******************