OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pazuzu on 22 May 2005, 04:31:18

Title: thislist for empty vehicles
Post 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.
Title: Re:thislist for empty vehicles
Post by: bedges on 22 May 2005, 09:52:47
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... :-\
Title: Re:thislist for empty vehicles
Post by: Uldics on 22 May 2005, 10:05:42
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.
Title: Re:thislist for empty vehicles
Post by: bedges on 22 May 2005, 10:09:49
just tested and ronin has it - set the trigger to activate on civilians present and your code will work.
Title: Re:thislist for empty vehicles
Post by: pazuzu on 22 May 2005, 19:20:18
Ah ok, set it to civil....

I'll test it & check back.

Thanks for the help.
Title: Re:thislist for empty vehicles
Post by: pazuzu on 22 May 2005, 19:41:38
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.