Home   Help Search Login Register  

Author Topic: Markers Makers Makers!  (Read 1175 times)

0 Members and 1 Guest are viewing this topic.

CptBravo

  • Guest
Markers Makers Makers!
« on: 09 Jan 2004, 00:07:14 »
Hi everyone,

I am making an MP mission, and each player will fight over control over several towns. WHat I need to learn is how to change the color of a marker once that objective has been achieved? For example there is atrig over town A colord Red and once cleared from enemy units I want it to turn Green.

I have searched forumes for any hints but no luck.

Your help will be grrrrrrrrrrreatly appreciated!


Thanks.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Markers Makers Makers!
« Reply #1 on: 09 Jan 2004, 07:24:51 »
Several ways you can do this. I'd suggest a repeatedly activated trigger where activation is by the enemy side. In the 'on activation field' I'd put "markername" setmarkercolor "colorred" and in the 'deactivation field' I'd put "markername" setmarkercolor "colorgreen".

This way if the enemy should recapture the town, the marker would turn to red again, and once cleared, green again.
Not all is lost.

CptBravo

  • Guest
Re:Markers Makers Makers!
« Reply #2 on: 09 Jan 2004, 18:39:13 »
Thank you very very much! You're the best!!
That is exactly what I was looking for! :)