OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The_Bishop_Ghost on 02 Aug 2005, 21:50:29
-
Okaj, bad topic but anyway. I was wondering if there is som script you can use to make soldier/civilian or what have you, enter a vehicle in a special position. Not as dirver or cargo but in a specifik gargo place.
For exampel. For the GAZ 13 (Chaika... spelling) The first cargo position is in the back seat to the right, the second is in the middle, and the third is to th right and the last is the front passanger seat.
Now what i want is to but one guy in the first gargo positon and the Third, and the forth. Ie i don't want anybody in the middle in the back...
Any way to get this?
-
Yes. You fill the cargo spaces you don't want units in with gamelogics.
gamelogic1 moveInCargo truck
gamelogic2 moveInCargo truck
soldier1 moveInCargo truck
gamelogic3 moveInCargo truck
gamelogic4 moveInCargo truck
soldier2 moveInCargo truck
soldier3 moveInCargo truck
But you'll have to experiment with it to get it right.