1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Help with a simple trigger

Discussion in 'Map Development' started by Glyphon, Dec 19, 2004.

  1. Glyphon

    Glyphon

    Joined:
    Dec 19, 2004
    Messages:
    7
    Resources:
    0
    Resources:
    0
    im making a defence game for RoC.

    i need a trigger that gives +2 gold every time you make a kill, what event should i use? or what will this trigger look like, i cant find an event :oops:
     
  2. Panto

    Panto

    Joined:
    Apr 3, 2004
    Messages:
    533
    Resources:
    1
    Maps:
    1
    Resources:
    1
    The best way might be to use a trigger to turn on bounty for each player, using the "Player Flag" action, during Map init. Then change each unit to give whatever amount of bounty you want it to give.

    Alternatively, you could make an easy trigger that detects when a unit dies and gives +2 gold to the owner of the killing unit, unless that owner is also the owner of the dying unit. It'd be small and simple, but it wouldn't show the bounty art above the dying unit's head.
     
  3. [AvsP]PREDATOR

    [AvsP]PREDATOR

    Joined:
    Nov 4, 2004
    Messages:
    19
    Resources:
    0
    Resources:
    0
    if you have trigger questions just try learning from other maps first!!! usually they contain ready triggers!!!
     
  4. Panto

    Panto

    Joined:
    Apr 3, 2004
    Messages:
    533
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Why did you bump a month-old thread for a tiny bit of advice? Thread necromancy is against the rules.