Plz Help With Counters -1 reply

Please wait...

Polyg0n

I'm too cool to Post

50 XP

3rd March 2004

0 Uploads

6 Posts

0 Threads

#1 14 years ago

what do counters count???? i want mine to count the number of oil rigs captureed, how can i do this??? thanks




RABIES

Mapper - Zero Hour - Far Cry

50 XP

15th November 2003

0 Uploads

79 Posts

0 Threads

#2 14 years ago

Aack, tricky but good idea. Hmmm. Well definitely name the oil derriks so you can script them. (ie Oil1, Oil2, and etc.)

Check out some of these to help: "Player>Owns>Player owns the specific unit" "Scripting>Counter>Increment Counter" "Player>Destroyed>Player has lost an onject of type" "Scripting>Counters>Display an individual counter to the user"

Then you need a script for the capture somthin like: **IF** Player owns Object **THEN** Add <1> to counter ------------------------------------------------ "If the player loses a Derrik" **IF** has lost an object of type **THEN** Add <-1> to counter ------------------------------------------------ "For the counter" **IF** TRUE **THEN** Show with text