djcev.com

//

Git Repos / fte_dogmode / qc / triggers / relay.qc

Last update to this file was on 2024-06-15 at 19:50.

Show relay.qc

//==============================================================================
// trigger_relay
//==============================================================================

//======================================================================
// forward declarations
//======================================================================

#ifdef SSQC
// trigger_relay
// void() trigger_relay_use;
void(entity e) trigger_relay_init;
void() trigger_relay;
#endif

//------------------------------------------------------------------------------

#ifdef SSQC
/*QUAKED trigger_relay (.5 .5 .5) (-8 -8 -8) (8 8 8) X X X X X X X X NOT_ON_EASY NOT_ON_NORMAL NOT_ON_HARD_OR_NIGHTMARE NOT_IN_DEATHMATCH NOT_IN_COOP NOT_IN_SINGLEPLAYER X NOT_ON_HARD_ONLY NOT_ON_NIGHTMARE_ONLY
This fixed size trigger cannot be touched, it can only be fired by other events. It can contain killtargets, targets, delays, and messages.
*/
//----------------------------------------------------------------------
// class trigger_relay: base_trigger
// {
/*
//--------------------------------------------------------------
void() trigger_relay_use =
{
sub_usetargets ();
};
*/

//--------------------------------------------------------------
void(entity e) trigger_relay_init =
{
e.classname = "trigger_relay";
e.classtype = CT_TRIGGER_RELAY;
e.use = sub_usetargets;

base_trigger_init (e);
};

//-------------------------------------------------------------
void() trigger_relay =
{
// new spawnflags for all entities -- iw
if (SUB_Inhibit())
return;

trigger_relay_init (self);
};
// };
#endif

Return to the top of this page or return to the overview of this repo.

Log relay.qc

Date Commit Message Author + -
2024-06-15 Major update, committing as-is, will have bugs cev +4  
2024-03-24 2nd pass refactor, rework QC class structure cev +31 -6
2024-01-09 Continue OO / Class-based refactor cev +9 -6
2023-12-09 Start OO / class-based refactor, work on items cev +21  

Return to the top of this page or return to the overview of this repo.