Quote:
Originally Posted by Oscarmike247
Even if you added one more simple looping script like...
If past(1) then
Text ("test")
Endif
... the error would occur.
|
I was working on a better example for you when I noticed your script would display the text every second.
If past(1) then
Text ("test")
Endif
try the following script with a delay of 7 seconds between the text display.
Code:
if past(1) and elapse(7) then
text("test")
endif
or try this one with as many text outputs needed in a given scenario, I've put 3 here using your example variable 60.
Trigger the values 1 to 3 from elsewhere in the wac or med.
Code:
if not eq(v60,0) then
if eq(v60,1) and never() then
text("Test1")
set(v60,0)
else
if eq(v60,2) and never() then
text("Test2")
set(v60,0)
else
if eq(v60,3) and never() then
text("Test3")
set(v60,0)
end
end
end
endif
alternatively
Code:
if not eq(v60,0) then
if eq(v60,1) and never() then
text("Test1")
set(v60,0)
end
else
if eq(v60,2) and never() then
text("Test2")
set(v60,0)
end
else
if eq(v60,3) and never() then
text("Test3")
set(v60,0)
end
endif
PLEASE NOTE: I don't have access to the dfx and JOE mission editors at the moment