OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pazuzu on 22 May 2005, 04:31:18
-
I'm trying to get a trigger working using thislist as condition. I've got 2 empty scuds which have to be captured then driven to a specified location to be destroyed.
I tried making a trigger with condition: (scud1 in thislist) && (scud2 in thislist).
And set to side East.
This didn't work so I tried grouping scud1 to the trigger then in condition: this && (scud2 in thislist)
This didn't work either.
I've never used thislist for an empty vehicle, can this be done?
Thanks.
-
i've just played around with it and the only way i got it to work was two normal triggers, grouped with each scud respectively. that definitely works. no idea why the 'thislist' isn't cooperating... :-\
-
I think empty vehicles counts as civilian. I think I had same problem some year ago, but I dont remember if that was the solution.
-
just tested and ronin has it - set the trigger to activate on civilians present and your code will work.
-
Ah ok, set it to civil....
I'll test it & check back.
Thanks for the help.
-
Ok I tested it & it works perfectly.
Trigger set to civil present & for condition I put: this && (scud1 in thislist) && (scud2 in thislist).
Thanks again.