Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 1:21 am
All times are UTC + 0
"Deactive upon Success"
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Tue Oct 30, 2007 8:17 pm    Post subject:  "Deactive upon Success" Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Alexander C Bukington
Grenadier


Joined: 09 Mar 2007

PostPosted: Tue Dec 11, 2007 2:46 am    Post subject: Reply with quote  Mark this post and the followings unread

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]

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
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


Powered by phpBB © phpBB Group

[ Time: 0.1464s ][ Queries: 11 (0.0070s) ][ Debug on ]