Posted: Tue Oct 30, 2007 8:17 pm Post subject:
"Deactive upon Success"
Ok, I made a trigger in a map that will grant a player 100 bucks when he has "kill atleast "1" of "infantry". When I check off "Deactive upon success", it will give me one hundred bucks, and thats it. When I uncheck it, it gives mea constant stream of money going on infinatly. Anyone know how to make is so I get 100 bucks per kill? (I looked, but I couldn't find " kill exactly/equal to". Your help will be appreciated. QUICK_EDIT
what you have to do is use a counter! If you recall there is a mission in zero hour where you are china and you have to destroy statues in a certain amount of time otherwise you're defeated. You see the numbers on the sides that count each time you do something is a counter.
What you could do is write a script as such "IF player <whatever> has killed XX units of type INFANTRY THEN increase counter XX.
Then you do this: If counter/timer <whatever> reaches <whatever> then player <whatever> gets xx amount of money.
Then again if you did that you wouldn't even need a counter. Its probably easier to just let someone get cash for every 5 kills or something _________________ 0h noez!11!!! one 11!! U just p00rd n00bs@uc3 a11 0v3r my l33t sk1llz!!!!!!11one!!111!!!one111!!!!!!!
[img]http://ppmsite.com/forum/viewtopic.php?t=16541[/img] QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum