ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
12 years ago
Hi, in aother topic i asked for some iedeas, and acidbrain had a nice one, bonus for killing units, i tried to make a scrip but nothing worked, i can only find destroying building and no units, someone can help.
greetings ron
Sponsor
acidbrain
12 years ago
I used a counter and displayed it on the screen
made 2 scripts to detect and count

-the detector script

*** IF ***
    Player 'Red_Army' has lost an object of type 'Tanks' (can be an object type list).
  *** OR ***
    Player 'Red_Army' has lost an object of type 'Artillery' (can be an object type list).
*** THEN ***
  Enable Script 'Red Vehicle KIA_Counter'.

-the counter script

*** IF ***
    True.
*** THEN ***
  Add  1  to counter 'Red Vehicles KIA'
  Enable Script 'Red Vehicle KIA_Detector'.

you can give bonusses at various levels
for example

*** IF ***
    Counter 'Red Vehicles KIA' IS Greater Than or Equal To  100 
*** THEN ***
   Player '<Local Player>' gets $ 2000 

Panem et kirkinses
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
12 years ago
hee, thx very mutch
greetings ron
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
12 years ago
hi, i think the script is from generals, some lines i dont find in zero hour, so i was wondering if you made a script in generals, export it and than import in zero hour does it work than?
greetings ron