Difference between revisions of "Entity:trigger ff clip"
From Fortress Forever Wiki
Jump to navigationJump to search (Created page with "{{Infobox manual/Header}} {{Infobox mapping}} ==trigger_ff_clip== This brush entity is a Lua-configurable clip brush. It can be used to prevent certain teams from moving or shoot...") |
(No difference)
|
Revision as of 22:05, 25 June 2011
|
trigger_ff_clipThis brush entity is a Lua-configurable clip brush. It can be used to prevent certain teams from moving or shooting through an area, among other uses. Predefined trigger_ff_clipName your trigger_ff_clip one of the following to use these standard clip brushes (case matters, so make sure your entity names are all lowercase):
Custom trigger_ff_clipLua code can be written to define a wide range of behaviors for your clip brush like so: clip_example = trigger_ff_clip:new({ clipflags = {
ClipFlags.kClipPlayersByTeam, ClipFlags.kClipTeamRed,
ClipFlags.kClipTeamYellow, ClipFlags.kClipTeamGreen,
ClipFlags.kClipAllNonPlayers} })
See Lua:Flags#ClipFlags for the full list of possible flags. |