Restrict weapons and actions

Discussion in 'Mapping Questions & Discussion' started by Sadwaffles, Aug 19, 2014.

  1. Sadwaffles

    Sadwaffles L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    I've tried a few methods but what would be the best.
    Some areas I would like to restrict certain weapons from players and some areas Id like people to be invulnerable to other peoples weapons. :confused:
     
  2. Sadwaffles

    Sadwaffles L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    Seriously no one can answer?
     
  3. Egan

    aa Egan

    Messages:
    1,318
    Positive Ratings:
    1,507
    To make people invulnerable to weapons in some areas you can use this set up:

    For restricting weapons to some areas, I don't think that's possible. You can restrict people to use melee only in some areas by encasing the area in a trigger_add_tf_player_condition with condition 41:
    '41 : TF_COND_CANNOT_SWITCH_FROM_MELEE'
    And then also do this on the trigger:
    'OnStartTouch point_clientcommand slot3'
    Which requires a point_clientcommand.

    You can also just map-wide restrict weapons by finding the associated class name from here, and sending that a Kill input.
     
    • Thanks Thanks x 4