Jump to content
Sign in to follow this  
miles teg

Flags on Vehicles?

Recommended Posts

I checked all over the place and couldn't find anything written about it, but is it possible to put flags on vehicles and infantry like you could in OFP? I always thought it was awesome seeing infantry charging forward with a standard bearer carrying a flag of the mission maker's choosing. It looked good on vehicles.

I know on soldiers there is a flag proxy on the model but I don't remember seeing one on ArmA vehicle models. I suppose it could be added if there isn't any.

At any rate, maybe there is one hidden in there somewhere. If it's possible, does anyone know the script to add the flags onto vehicles and infantry?

Thanks,

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

It works the same way then in OFP:

1. Place the flagpole and give it a name, here we use "flag1"

2. Place the unit/vehicle which shall carry the flag, here we use "car1"

In the flagpoles init line type:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">flag1 setFlagOwner car1D or

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">flag1 setFlagOwner (driver car1)

If you want to use a soldier, it's the same just that you use the units name instead of the car1.

IIRC empty vehicles cannot carry a flag.

Share this post


Link to post
Share on other sites

Its been so long since I made a mission in OFP where they had carried flags that I had forgotten that they get them from the flagpoles.

Thanks so much for the refresher Wolle. Much appreciated!

I'm gonna try sticking a custom USMC flag on a AAV7 in a mission I'm making.

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

Wow, this is really great. I did notice though that setFlagOwner away from the flagpole does a very nice lowering of the flag animation, however setting the owner back to the pole or to objNull results in the flag just appearing there.

Is there no way to play a flag raising animation?

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  

×