Jump to content
Sign in to follow this  
Macser_old

Ofp:Can cargo position be assigned to leader?

Recommended Posts

Would anyone know of a way to assign the

leader of a group to a particular "Cargo"

position,upon entering a "Car" class vehicle?

Or are the units entering,assigned a position

on a "first come,first served" basis?

Thanks in advance for any assistance.

Share this post


Link to post
Share on other sites

I'm not sure if it's what your searching for...

here what I think, it's "first to come, first served", like you said.  If you want your unit to be on a specific cargo position, try to make some triggers to make other soldier waiting for your soldier to get to is seat.

And if you define a class for Leader assigned in your model, there would be a big job of scripting in there.

Try mission editor...

*Edit : You can try the "command view" instead of "cargo view" LOD.

Share this post


Link to post
Share on other sites

i.e. : if you want your squad leader on the 4th cargo place in a truck with 7 units.

unit1 getindriver car1;

[unit2,unit3,unit4] getincargo car1;

a trigger to make others wait while :

SqadLeader1 getincargo car1;

then

[unit5,unit6,unit7] getincargo car1;

(I use getin, but there is better commands...)

Share this post


Link to post
Share on other sites

Thanks a lot for the reply Pillum. wink_o.gif

I'll give it a go and see what happens.

You still workin on your own project?

Share this post


Link to post
Share on other sites

Just a little Nota Bene :

I assumed that you know the "getin" command don't work, well I think so, I don't use it...but if you replace by "movein" it will work.

wink_o.gif

Edit : and "first to come, first served", yes, but following rank of all the units selected to get in...

Share this post


Link to post
Share on other sites

Thanks Pillum,

Haven't gotten around to tryin it out yet.

I'm puttin together some models for a

project.Lot of work involved.

I'll try it out as soon as I can.

I'm deriving the vehicle from the "jeepmg" class,btw.

So that would leave out all views but the cargo view.

I don't really want to base it on a "tank" class,although

it might solve some problems,it would ruin the look.

Scripting it would,I suppose,be the only way forward.

If it's even possible to do that,is the real question.

If it is possible,I'd probably have it called with

the init eventhandler on startup.Or maybe the Getin EH,

as the units enter the vehicle.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×