func_disctoggle (Ricochet)
Last edited 2 years ago2022-09-20 11:05:01 UTC
- Wiki
- View Page
-
Trigger that detect if a friendly or enemy disc touches it and trigger a specific target according to that information.
Attributes
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Name (targetname) - Property used to identify entities.
- Master (master) - The name of a multisource (or game_team_master) entity. A master must usually be active in order for the entity to work. Thus they act almost like an on/off switch, in their simplest form, and like an AND gate in the case of the multisource.
- Delay before trigger (delay) - Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.
- Kill target (killtarget) - Remove this entity from the game when the trigger_once is triggered.
- Target Path (netname)
- Sound style (sounds)
- Message (message)
- Hit by friendly (hitby_friendly) - Name of the target to fire if a friendly disc touches that trigger.
- Hit by enemy (hitby_enemy) - Same but for enemy disc.
- Arena (arena) - If set, this entity can work only during a certain round number.
Flags
- Monsters (1) - Allow monsters to activate this entity.
- No Clients (2) - Players cannot activate this entity.
- Pushables (4) - Allow pushable objects to activate this entity.
Notes
- When spawning, the last hit team is assumed to be "friendly".
Comments
You must log in to post a comment.
You can login or register a new account.