PDA

View Full Version : MoveInCargo?



hon0
Jan 9 2012, 12:18
Hello.

I'm trying to use the MoveInCargo init to make a ppl at the COPILOT place but it don't work. If I take a MH6 it goes on the bank, but nothing on copilot..

Thanks for help.
Antoine

b101_uk
Jan 9 2012, 12:57
Use the index augment thus assigning to a specific seat/position


unit moveInCargo [vehicle name, cargo Index];

or not to move them directly but have them us a specific seat/position when they do get in.


unit assignAsCargoIndex [vehicle name, cargo Index];

cargo Index = 0, 1, 2, 3, 4, etc, etc, etc.

so try i.e.


unit moveInCargo [vehicle name, 1];

or


unit moveInCargo [vehicle name, 2];

hon0
Jan 9 2012, 13:22
I can make him seat on the bank but no way on the copilot seat.. Even with the enable copilo (http://community.bistudio.com/wiki/enableCoPilot)t line :(

DnA
Jan 9 2012, 13:29
Copilots are usually the first turret, so:


unit moveInTurret [vehicleName, [0]];

hon0
Jan 9 2012, 13:42
Perfect ! Thanks DnA