How can i change the name of a trigger with the script? I know how is it called and i know the origin ? ( because i have 2 triggers with the same targetname and i want to erase only 1 of them )
And can someone tell me why i dont have my message print on the screen
Code: Select all
main:
............
thread ladder_info
thread text_info
ladder_info:
local.multiple = spawn trigger_multiple "targetname" "text_trigger" "setthread" "text_info"
local.multiple.origin = ( 1840 -3544 80 )
local.multiple setsize ( -80 -80 -80 ) ( 80 80 80 )
end
text_info:
$text_trigger waittill trigger
$text_trigger triggerable ==> tried with and wothout without success
iprintIn "Wrong place"
end



