Editing Entity (section) From Quake Wiki Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits. Anti-spam check. Do not fill this in! ====Targetname, Target and Killtarget==== Quake features a very basic form of event scripting via triggers that can be placed in levels and used to activate other entities. For example, the [[func_button]] entity is used to make a usable button object in a level which will trigger a targeted event when pressed. This event system is not limited to the obvious trigger entities and buttons - monsters can fire events when they are killed, and items when they are picked up. In order to use this system, the keys targetname and target must be understood. The '''targetname''' key is used to establish a name for an entity so that it can be linked to triggers that are targeting it. The value of targetname needn't be unique, though multiple entities using the same targetname will all be activated at once by anything that triggers them. The value of '''target''' should be set to the targetname of the entity that needs to be activated. For example. a [[func_door]] with (targetname : door1) can be activated by a func_button with (target : door1). '''killtarget''' is a key used in a similar way to target, but instead of activating the target, the targeted entity will be removed from the level when the killtarget event is fired. In [[Vanilla Quake|vanilla Quake]], a single trigger cannot target multiple entities another at the same time. This is true even if one entity is targeted and another is killtargeted. In order to do this, multiple triggers (see [[trigger_relay]]) must be used for each different target or killtarget. Some [[mod|mods]], such as [[Quoth]] support multi-targeting, which allows multiple targets to be set for a single trigger, and also enables targets and killtargets to both be fired when the trigger is triggered. Summary: Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! To edit this page, please answer the question that appears below (more info): Who created the Quake Soundtrack (Hint: In three uppercase letters)? Cancel | Editing help (opens in new window) Retrieved from "http://quakewiki.org/wiki/Entity"