<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Func_traincontrols</id>
	<title>Func traincontrols - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Func_traincontrols"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Func_traincontrols&amp;action=history"/>
	<updated>2026-04-24T18:24:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Func_traincontrols&amp;diff=220&amp;oldid=prev</id>
		<title>GeckonCZ: Import of converted entguide pages from Sven Manor.</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Func_traincontrols&amp;diff=220&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:19Z</updated>

		<summary type="html">&lt;p&gt;Import of converted entguide pages from Sven Manor.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Entity_Infobox&lt;br /&gt;
| title=&lt;br /&gt;
| type=b&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This entity represents an invisible, non-solid button which gives a player control over a func_tracktrain when used. This entity automatically moves and rotates with its associated func_tracktrain. When uses it, the player can choose between speed levels.&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|Train Name|target|Name of assigned train.&lt;br /&gt;
&lt;br /&gt;
Inventory Rules, InventoryRules @BaseClass:&lt;br /&gt;
List of inventory-related keyvalues used with item_inventory entity. Whenever player is attempting to use an entity, the inventory test runs. If test result is negative, the entity won&amp;#039;t work. In other case, entity can be used as normal, but only by player who passed the test with required inventory conditions:&amp;quot;Inventory: Need item(s)&amp;quot;, item_name_required : Item(s) (names separated by spaces) required to use this entity. &lt;br /&gt;
Refers to &amp;quot;Item name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Need item(s) from group(s)|item_group_required|Groups (separated by spaces), in which carried items belong to, required to use this entity. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Item count in group need have|item_group_required_num|Minimal number of items, that belong &lt;br /&gt;
to specified group, required to use this entity. Use with &amp;quot;Inventory: Need item(s) from group(s)&amp;quot; keyvalue. Value of &amp;#039;0&amp;#039; means that all items from current group are required.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: CAN&amp;#039;T have item|item_name_canthave|Items in player inventory that will fail the test, and disallow usage &lt;br /&gt;
of this entity. Refers to &amp;quot;Item name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: CAN&amp;#039;T have item from group|item_group_canthave|Items in player inventory, which belong to specified group, that will fail the test, and disallow usage of this entity. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Item count in group CAN&amp;#039;T have|item_group_canthave_num|Minimal number of items in player inventory, which belong to specified group, that will fail the test, and disallow usage of this entity. Refers to &amp;quot;Item group name&amp;quot; &lt;br /&gt;
value of item_inventory. Value of &amp;#039;0&amp;#039; means no single item from current group should be equipped to pass the test.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on use triggers?|pass_ignore_use_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On use (by trigger)&amp;#039; will not be fired when item is used by this entity.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Drop item(s)|pass_drop_item_name|Items to force-drop when the test result is positive, and entity is used successfully. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Drop item(s) from group(s)|pass_drop_item_group|Items to force-drop, that belong to specified group, when the test result is positive, and entity is used successfully. All items from this group will be dropped. &lt;br /&gt;
Refers to &amp;quot;Item group name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on drop triggers?|pass_ignore_drop_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On drop&amp;#039; will not be fired when item is dropped by this entity with &amp;#039;Drop items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Return item(s)|pass_return_item_name|Items to return to their starting positions when test result is positive. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Return item(s) from group(s)|pass_return_item_group|Items, that belong to specified group, to return to their starting positions when test result is positive. All items from this group will be returned. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory. Multiple group names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on return triggers?|pass_ignore_return_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On return&amp;#039; will not be fired when item is returned by this entity with &amp;#039;Return items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Destroy item(s)|pass_destroy_item_name|Items to remove when test result is positive. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Destroy item(s) from group(s)|pass_destroy_item_group|Items, that belong to specified group, to remove when test result is positive. All items from this group will be removed. Refers to &amp;quot;Item group name&amp;quot; value &lt;br /&gt;
of item_inventory. Multiple group names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on destroy triggers?|pass_ignore_destroy_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On Destroy&amp;#039; will not be fired when item is destroyed by this entity with &amp;#039;Destroy items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|Target: Inventory rules failed|target_on_fail|Entity to trigger whenever test result is negative.}}&lt;br /&gt;
&lt;br /&gt;
== Changes ==&lt;br /&gt;
&lt;br /&gt;
5.0 Steam Release: Added &amp;#039;Inventory Rules&amp;#039; keyvalues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{entity_title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Entities]]&lt;br /&gt;
[[Category:Brush entities]]&lt;/div&gt;</summary>
		<author><name>GeckonCZ</name></author>
	</entry>
</feed>