OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 04 Jun 2003, 18:47:17

Title: checking if inside unit
Post by: gadolinite on 04 Jun 2003, 18:47:17
how yould you perform an action (condition for trigger) to see if a unit is in any position in a vehicle (cargo, driver, commander, gunner)?
Title: Re:checking if inside unit
Post by: LCD on 04 Jun 2003, 18:55:21
condition :

 unitname in vehiclename

or

(vehicle unit) != unit

LCD OUT
Title: Re:checking if inside unit
Post by: gadolinite on 05 Jun 2003, 01:01:24
sounds good, LCD