func_breakable Last edited 5 years ago2019-05-05 08:54:58 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Brush Entity

The func_breakable entity allows you to create a breakable brush.

Attributes

Flags

Team Fortress Classic only

Attributes

  • Targetname of teamcheck goal (teamcheck) - Using this in conjunction with an info_tf_teamcheck allows you to switch the entity's team allegiance when the info_tf_teamcheck changes its team setting. The team_no property must be set to Any (0) if you use this value.
  • Has item # (items_allowed) - The player must be carrying this item to use this entity. Set 0 to ignore this criterion.
  • Has item from group # (h_i_g) - The player must be carrying any item from this group to use this entity. Set 0 to ignore this criterion.
  • If goal # active (if_goal_is_active) - Players can only use the entity if this goal is in the active state. Set 0 to ignore this criterion.
  • If goal # inactive (if_goal_is_inactive) - Players can only use the entity if this goal is in the inactive state. Set 0 to ignore this criterion.
  • If goal # removed (if_goal_is_removed) - Players can only use the entity if this goal is in the removed state. Set 0 to ignore this criterion.
  • If group # active (if_group_is_active) - A player can only use the entity if all the goals in this group are in the active state. Set 0 to ignore this criterion.
  • If group # inactive (if_group_is_inactive) - A player can only use the entity if all the goals in this group are in the inactive state. Set 0 to ignore this criterion.
  • If group # removed (if_group_is_removed) - A player can only use the entity if all the goals in this group are in the removed state. Set 0 to ignore this criterion.
  • Team allowed to activate entity (team_no) - The team you specify here will be able to use this entity Values are:
    • Any (0)
    • Blue (1)
    • Red (2)
    • Yellow (3)
    • Green
  • Playerclass allowed to activate (playerclass) - You can limit the use of this entity to specific playerclasses. Values are:
    • Any (0)
    • Scout (1)
    • Sniper (2)
    • Soldier (3)
    • Demoman (4)
    • Medic (5)
    • HWGuy (6)
    • Pyro (7)
    • Spy (8)
    • Engineer (9)
  • Hasnt Item from group # (hasnt_item_from_group) - The player must not be carrying any item from this group to use this entity. Setting this to 0 will allow any player to use the entity if he meets the other criteria.
  • If item has moved # (if_item_has_moved) - This item must not be in its original spawn location for any player to use this entity. Setting this to 0 will always allow players to use the entity if they meet the other criteria.
  • If item hasnt moved # (if_item_hasnt_moved) - This item must be in its original spawn location for any player to use this entity. Setting this to 0 will always allow players to use the entity if they meet the other criteria.
  • Angular Velocity (PYR) (avelocity)

Comments

You must log in to post a comment. You can login or register a new account.