Added DEFENDERS_OBJECTIVE_ONCAP, _ONFLAG, AND _ONCARRIER globals to allow for different objectives on D
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
- also fixes some old issues with _onflag and _oncarrier code
#58
DEFENDERS_OBJECTIVE_ONCARRIER plus code
Changed DEFENDERS_OBJECTIVE_ONFLAG and
DEFENDERS_OBJECTIVE_ONCARRIER to false
Modified/Added if statements to keep old code and still see only
the cap and to include the UpdateTeamObjectiveIcon() for D so
that it only gets called when necessary
* Add built-in support for trigger-based buttons (blue_security_trigger/red_security_trigger)
* Add built-in support for Lua-defined security shutdown length (SECURITY_LENGTH)
* Add built-in support for turning on/off lights, brushes, trigger_ff_clips, and trigger_hurts
* Add some helpful team-oriented trigger definitions in base_teamplay.lua