Deleting entities only in a certain area of a map

Discussion in 'Mapping Questions & Discussion' started by FrozenState, Jan 7, 2014.

  1. FrozenState

    FrozenState L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Hello,

    I was recently trying to create an area in my map where the weapons of the players would get removed. Since it has to be done to only certain players in the map that get far enough, using a trigger with the parameters "tf_weapon_*,kill" simply won't work.

    I was trying to get trigger_remove to work with a filter, but I just ended up crashing my own client on each test (presumably because I'm probably removing myself?)

    Any input is appreciated, thanks.
     
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,849
    Positive Ratings:
    4,845
    trigger_multiple has filters? Why exactly can't you just use that?
     
  3. FrozenState

    FrozenState L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    The problem I believe is that I'm setting up the filter wrong. Like I mentioned before, I have gotten the trigger_remove to work, but it still removes everything as if the filter was not there.

    How would I go about using trigger_multiple to filter out the trigger_remove to only work on tf_weapon_* entities?
     
    Last edited: Jan 7, 2014