Trigger capture

**"What a piece of junk!"**

This page is incomplete. Please add anything relevant that you can. Keep an eye out for comments while editing, because they might note what needs to be done.

Movie Battles II Specific Entity

## Entity Code

```
/*QUAKED trigger_capture (.1 .5 .1) ? FORGETFULL FORGETFULL_INSTANT START_TEAM_1 START_TEAM_2 NO_BLOCKING RATE_LINEAR RATE_FIXED INACTIVE NO_NEUTRAL MULTIPLE
==========MOVIE BATTLES II SPECIFIC ENTITY==============
===========DESCRIPTION============================
Variable sized single use trigger.
===========SPAWNFLAGS=============================
FORGETFULL - If every member of a team that is currently capturing this trigger dies/leaves, the trigger resets to 0 at 1/2 the timeframe value of the usetime capture time.

FORGETFULL_INSTANT - If every member of a team that is currently capturing this trigger dies/leaves, the trigger resets to 0 instantly

START_TEAM_1 - Automatically starts as captured by team 1

START_TEAM_2 - Automatically starts as captured by team 1

NO_BLOCKING - A single player cannot completely block capture by the other team

RATE_LINEAR - Capture rate scales linearly based on #players - #enemies

RATE_FIXED - Capture rate is independent of #players

INACTIVE - Start off, has to be activated to be touchable/usable

NO_NEUTRAL - Skips neutral capture stage and only toggles between team 1 and team 2

MULTIPLE - multiple entities can touch this trigger in a single frame *and* if needed, the trigger can have a wait of > 0
===========KEYS&VALUES============================

"wait" Seconds between triggerings, 0 default, number < 0 means one time only.

"random" wait variance, default is 0

"delay" how many seconds to wait to fire targets after tripped

"target2" Target at associated misc_hologram to indicate capture state.

"speed" How many seconds to wait to fire the target2, default is 1

"noise" Sound to play when the trigger fires (plays at activator's origin)

"NPC_targetname" Only the NPC with this NPC_targetname fires this trigger

"min_num" If non-0, a team must have at least min_num of players in the trigger to capture it.

"team" If set, only this team can trip this trigger
0 - any
1 - red
2 - blue

"soundSet" Ambient sound set to play when this trigger is activated

"usetime" The total capture time in ms for a single client in range to capture the trigger and cause it to fire.

"min_players" (MOVIE BATTLES II SPECIFIC) Minimum player count required in-round for this trigger to be useable.

"max_players" (MOVIE BATTLES II SPECIFIC) Maximum player count in-round for this trigger to be useable.

Applicable only during Siege gametype:
teamuser - if 1, team 2 can't use this. If 2, team 1 can't use this.
siegetrig - if non-0, can only be activated by players carrying a misc_siege_item
which is associated with this trigger by the item's goaltarget value.
teambalance - if non-0, is "owned" by the last team that activated. Can only be activated
by the other team if the number of players on the other team inside the
trigger outnumber the number of players on the owning team inside the
trigger.
target3 - fire when activated by team 1
target4 - fire when activated by team 2

idealclass - Can only be used by this class/these classes. You can specify use by
multiple classes with the use of |, e.g.:
"Imperial Medic|Imperial Assassin|Imperial Demolitionist"
*/

```