- Joined
- Dec 17, 2017
- Messages
- 39
Hey guys,
there be two functions: function a and function b.
if i call function b from within function a,
is there a way i can call function a from within that function b again?
since i declare b before a (blueprintish):
i cant call a from within b:
is there a workaround? the only thing that came to my mind was doing it with return values:
but this probably wont work for me, not only cant i give parameters to a, but also can I only call a once, everytime I call b...
Is it maybe possible with CreateTrigger() or CreateFunction() ?
thanks in advance!
there be two functions: function a and function b.
if i call function b from within function a,
is there a way i can call function a from within that function b again?
since i declare b before a (blueprintish):
JASS:
function b
endfunction
function a
call b()
endfuction
i cant call a from within b:
JASS:
function b
call a() // this wont work
endfunction
function a
call b()
endfunction
is there a workaround? the only thing that came to my mind was doing it with return values:
JASS:
function b
return true
endfunction
function a
bo = call b()
if bo == true then
call a() // parameters missing..
endif
endfunction
Is it maybe possible with CreateTrigger() or CreateFunction() ?
thanks in advance!