1. i have set !(hitinfo.Initiator is Barricade) but if you run into fire pit it seems to still trigger.
     
  2. Wulf

    Wulf Community Admin

    If for reason it is a Barricade, then you could exclude it by name.
     
  3. how would i stop it from trigger if not player or animal? i thought if (hitinfo.Initiator is Barricade) return;
     
  4. Wulf

    Wulf Community Admin

    BasePlayer is a player, BaseEntity would be animals and/or players. A Barricade would be spikes, door boards, etc.
     
  5. if (!(hitinfo.Initiator is BasePlayer ) || !(hitinfo.Initiator is BaseEntity)) return; seems to work now.