I tried to search but it seems there is nothing here yet about "setTriggerStatements".
I cant get this to work as I want. In a script I am creating a trigger and setting its arguments as well.
Now creating the trigger is no problem, that works fine. But setting the arguments thats a pain in the &^%$$% at the moment.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_trigg setTriggerStatements ["this", "GRF_FF_Artillery_Stop = true", ""][/QUOTE]
This one works, its from another script WIP and all is fine there.
Now in another script I am trying the same only I am executing a script from the same line <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_trigger setTriggerStatements ["this", "["large"] exec "test.sqs"", ""][/QUOTE]
That doesnt work, it keeps telling me the syntax isnt correct and it misses a "]".
So, to make sure it want an error in the execution of the script I added a hint message like this <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_trigg setTriggerStatements ["this", "hint "works", ""][/QUOTE]
This doesnt work neither.
I must be doing something wrong with the "" but I really havent got a clue as to what the problem is.
I hope anyone here can help me with this. I really need to get this fixed.
HOME
Foxhound


Reply With Quote
