Posted by: ron - Friday, April 19, 2013 3:53:26 AM
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
Posted by: acidbrain - Friday, April 19, 2013 1:39:57 PM
I used a counter and displayed it on the screen
made 2 scripts to detect and count
-the detector script
[code]
*** 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'.
[/code]
-the counter script
[code]
*** IF ***
True.
*** THEN ***
Add 1 to counter 'Red Vehicles KIA'
Enable Script 'Red Vehicle KIA_Detector'.
[/code]
you can give bonusses at various levels
for example
[code]
*** IF ***
Counter 'Red Vehicles KIA' IS Greater Than or Equal To 100
*** THEN ***
Player '' gets $ 2000
[/code]
Posted by: ron - Friday, April 19, 2013 2:01:11 PM
hee, thx very mutch
greetings ron
Posted by: ron - Saturday, April 20, 2013 4:07:17 AM
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