Troll-Brain
You can change this now in User CP.
- Reaction score
- 85
I don't see how I am doing that, it's not in a local block.
JASS:
local integer i = 0
local real x
local real y
local integer c
local boolean b
loop
exitwhen i > COUNT
set b = GetLocalPlayer() == P<i>
set c = GetPlayerId(P<i>)
if b then
set x = GetCameraTargetPositionX()
set y = GetCameraTargetPositionY()
endif
if x == X[c] and y == Y[c] then
if TriggerEvaluate(T<i>) and IsTriggerEnabled(T<i>) then
call TriggerExecute(T<i>)
endif
endif</i></i></i></i></i>
Player(0) press the bar
First iteration, Player(0) red.
For Player(0) computer b == true, (x == X[c] and y == Y[c]) == true -> trigger evaluated/executed
For Player(1) computer b == false, (x == X[c] and y == Y[c]) == false -> trigger not evaluated/executed
Nice desynch.
And i'm pretty sure it can fail very easily, i think you have not understood what i wanted to mean.Well, I succesfully added custom spacebar points (will release after I fix everything else).