hi,
using gui and customtext
if i make a udg_variable a local
it become a local variable and can go through wait unchanged...
but does the variable keep its local function if extended to another trigger?
ex: trigger a
customtext: local udg_variable
set variable = 12
run trigger b (ignoring condition)
trigger b
display to player(variable) : "variable value is " + I2S(variable)
is the variable in trigger b, a local variable? or does it loose its localness when extended to another trigger using the trigger run function?
because if i use (attacking unit) with event unit is attacked,
every extended trigger will still have the same event from the base trigger and (attacking unit) will work in all of them.... so what about local? do they stay local when extended?
using gui and customtext
if i make a udg_variable a local
it become a local variable and can go through wait unchanged...
but does the variable keep its local function if extended to another trigger?
ex: trigger a
customtext: local udg_variable
set variable = 12
run trigger b (ignoring condition)
trigger b
display to player(variable) : "variable value is " + I2S(variable)
is the variable in trigger b, a local variable? or does it loose its localness when extended to another trigger using the trigger run function?
because if i use (attacking unit) with event unit is attacked,
every extended trigger will still have the same event from the base trigger and (attacking unit) will work in all of them.... so what about local? do they stay local when extended?