Saw madness

Discussion in 'Mapping Questions & Discussion' started by red_one, Apr 1, 2010.

  1. red_one

    red_one L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Hi guys,
    My mate has built a tf2 map with a saw that drops down, rolls for a bit, and kills anyone who touches it before it disappears.
    My aim is to attach the name of the player who triggered the drop-down to the saw, so that they can ultimately get credit for the kills.

    I'm using Hammer.

    so far, I have a trigger called saw_button of type func_button that surrounds the saw model. an output of this trigger is: OnDamaged: Saw: EnableMotion
    that is, the saw drops down and starts rolling.
    it also has a trigger called saw_hurt (of type trigger_hurt), which is the trigger surrounding the saw that actually hurts the players.
    saw_button has another output:
    OnDamaged: saw_hurt: Kill: 11.00 - that is, after 11 seconds, kill saw_hurt
    What I really want, is to find a way to pass to saw_hurt, the name of the player who triggered saw_button.OnDamaged
    Can I just define another key:value in saw_hurt, and tell saw_button to set the new value to !activator?
    If not, how else could I do this?

    Thanks.
     
  2. zpqrei

    aa zpqrei Theme Changer Extraordinaire

    Messages:
    1,067
    Positive Ratings:
    1,123
  3. Mick-a-nator

    aa Mick-a-nator

    Messages:
    640
    Positive Ratings:
    314
    I'm afraid I don't think it is possible. !activator is actually for identifying which entity has triggered something, but cannot be used to find the name of a player. Boojum will no doubt come along and explain in detail what it does...
     
  4. red_one

    red_one L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Bump.
    Can anyone explain?