Results 1 to 4 of 4

Thread: Kill counter

  1. #1

    Kill counter

    Hi!
    Is there a way to create a kill counter without adding to it any unit in the game?
    What I mean is this:

    I currectly have this script which works fine:

    *** IF ***
    True.
    *** THEN ***
    Store the amount of kills by player Player 'Player_1' of the type of object 'GDIRifleSoldierSquad' to the counter 'p1k1'

    The problem is,I need to count ALL the kills,including other units than rifle squad...

    Is there a way to do this?

    also,is there a way to add money from counter? lets say counter X = 7000,is there a script that will add this number of credits exactly?

    THANK YOU!

  2. #2
    Lieutenant Colonel Lauren's Avatar
    Join Date
    Feb 2011
    Posts
    1,620
    Best to just use
    *** IF ***
    True.
    *** THEN ***
    Store the amount of kills by player Player 'Player_1' of the kindof Kind is 'SELECTABLE' to the counter 'KillsP1'

  3. #3
    Quote Originally Posted by Lauren View Post
    Best to just use
    *** IF ***
    True.
    *** THEN ***
    Store the amount of kills by player Player 'Player_1' of the kindof Kind is 'SELECTABLE' to the counter 'KillsP1'

    Thanks!

    umm,another question..is there a script for setting the player's credits to a counter value? (but without setting each value seperatly...i mean,if its a number from 1-100 not needing to creat an individual script for each of them)

    thank you!

  4. #4
    Lieutenant Colonel Lauren's Avatar
    Join Date
    Feb 2011
    Posts
    1,620
    Only per LUA scripts, but that would include making a mod out of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Victory Games is Electronic Arts' dedicated Strategy Gaming studio. Formed in 2010 under the leadership of Jon Van Caneghem, Victory Games has offices in Los Angeles, CA; Austin, TX; and Shanghai, China and is currently focused on the Command & Conquer franchise.