Jump to content
Sign in to follow this  
Mouse

How do i assign a group to a vehicle? (cargo)

Recommended Posts

It's easy to do it on land.. but the vehicle is a boat, i know that i can use ** soldiername moveincargo vehiclename ** but i have to type that into each units init box.. is there anyway to easy assign awhole group?

Share this post


Link to post
Share on other sites

In the init field of, say, the group leader, type:

"_x moveincargo VehicleName" foreach units group this

Share this post


Link to post
Share on other sites

thats wrong it's

grp = group this; "_X moveincargo VehicleName" foreach units group

Share this post


Link to post
Share on other sites

If "grp=group this", then it really doesn't matter whether you type "units grp" or "units group this". Either way it still represents an array of units.

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  

×