Entity:trigger ff clip
From Fortress Forever Wiki
(Redirected from Lua:trigger ff clip)
Jump to navigationJump to search|
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. |