Jump to content
Sign in to follow this  
pcpilot

Questions about sector control

Recommended Posts

I am making a simple mission where the player and his coop team have a meeting engagement against an enemy tank and two squads. They are battling on the island of Rahmadi over the single central village on that map. I have placed a flag at the center of town.

I was wondering if anyone knows where I can get and implement a script to make the flag change to the side with control and give them points for its possession, say, for the amount of time either side holds it. Ive been using the triggers "OpFor and BluFor has possession" I think it is. But while this tells me who has the center of town, the flag of course does not change.  I really dont want to get into scripting myself as I dont have that much time. Perhaps someone would be willing to help with a script?

PS. I also am not familier with how to implement a script so maybe someone could enlighten me. wink_o.gif

Share this post


Link to post
Share on other sites

If you are not able to put in the time, you won't make a mission.

Use a seized by trigger.

scripting

setFlagTexture

addScore

very basic example. This won't work with copy and paste but you should be able to figure it out.

create a :

flag named myFlag

Seized by OPFOR trigger

on activation :

[] exec "opforControl.sqs"

on deactivation :

[] exec "bluforControl.sqs"

opForControl.sqs:

myFlag setFlagTexture sla

#loop

[east units] addScore points

~20

goto "loop"

myFlag setFlagTexture usa

#loop

[west units] addScore points

~20

goto "loop"

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  

×