Jump to content
Sign in to follow this  
Ionflux

Flag Change

Recommended Posts

Hey guys, I want my SLA flag to change to US after I captured a SLA town, is that possible? If it is how do I do it?

Thanks in advance

Ionflux

Share this post


Link to post
Share on other sites

Best check out existing implementations.

A1 itself has such in the mptemplates from what I can remember.

Share this post


Link to post
Share on other sites

Yes its possible Ion, also easy to do:-

First of all lets call the flag we're creating "flag1".

Step 1: Create flag SLA/USA, from the object list.

Step 2: Create your trigger, so an OPFOR not present for e.g for use with an SLA flag.

Step 3: In the on activation of the trigger put:-

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">flag1 setFlagTexture "\ca\misc\data\usa_vlajka.paa"

Step 4: Test, now once there are no OPFOR present in the trigger, it will activate and change the flag to the stars and stripes.

Hope this helps bud.

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  

×