Tom Jones
N/A
- Reaction score
- 437
Take a look at this part:How come this does syntex?
JASS:
function Trig2Action takes nothing returns nothing
//Something is missing here.
call BJDebugMsg(AS.X)
endfunction
Take a look at this part:How come this does syntex?
function Trig2Action takes nothing returns nothing
//Something is missing here.
call BJDebugMsg(AS.X)
endfunction
local A AS = AS
local A AS = A.create()
TRIGGER 1
struct A
string X
endstruct
function SomeFunc takes nothing returns nothing
local A AS = A.create()
set AS.X = "SomeString"
call ExecuteTrigger(TRIGGER2)
endfunction
//--------------------------------------------------------
TRIGGER 2
function Trig2Action takes nothing returns nothing
local A AS = A.create()
call BJDebugMsg(AS.X) //This trigger still remember the string setted in trigger 1?
endfunction