04-03-2016, 12:04 PM
Im all out of ideas on this at the moment.
When this runs, it creates a trigger, however when I run "triggerStatements dtrg" in debugger I am getting "[]" as the result... seems the triggerStatements are not being set.
I can confirm they are not being set also, by killing the dobjCache and no hint follows.
Im lost now, as to why the setTriggerStatements doesnt seem to be adding the statements?
Any help would be great, thank you
Code:
dtrg = createTrigger ["trgDestroyCache2", [0,0]];
dtrg setTriggerArea [0, 0, 0, false];
dtrg setTriggerStatements ["!(alive dobjCache)", "hint 'hello';", ""];
When this runs, it creates a trigger, however when I run "triggerStatements dtrg" in debugger I am getting "[]" as the result... seems the triggerStatements are not being set.
I can confirm they are not being set also, by killing the dobjCache and no hint follows.
Im lost now, as to why the setTriggerStatements doesnt seem to be adding the statements?
Any help would be great, thank you