<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.crymod.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wiki.crymod.net/index.php?action=history&amp;feed=atom&amp;title=%D0%9D%D0%BE%D0%B4%D1%8B_%C2%ABEntity%C2%BB</id>
		<title>Ноды «Entity» - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.crymod.net/index.php?action=history&amp;feed=atom&amp;title=%D0%9D%D0%BE%D0%B4%D1%8B_%C2%ABEntity%C2%BB"/>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%9D%D0%BE%D0%B4%D1%8B_%C2%ABEntity%C2%BB&amp;action=history"/>
		<updated>2026-08-06T11:21:56Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.crymod.net/index.php?title=%D0%9D%D0%BE%D0%B4%D1%8B_%C2%ABEntity%C2%BB&amp;diff=2764&amp;oldid=prev</id>
		<title>DCamer: Новая страница: «{{В процессе перевода|дата=5 июля 2011|автор=1}} = Ноды «Entity» =  == Entity:EntityPos == '''Описание''' &lt;br /&gt; This nod...»</title>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%9D%D0%BE%D0%B4%D1%8B_%C2%ABEntity%C2%BB&amp;diff=2764&amp;oldid=prev"/>
				<updated>2011-07-04T20:18:22Z</updated>
		
		<summary type="html">&lt;p&gt;Новая страница: «{{В процессе перевода|дата=5 июля 2011|автор=1}} = Ноды «Entity» =  == Entity:EntityPos == &amp;#39;&amp;#39;&amp;#39;Описание&amp;#39;&amp;#39;&amp;#39; &amp;lt;br /&amp;gt; This nod...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{В процессе перевода|дата=5 июля 2011|автор=1}}&lt;br /&gt;
= Ноды «Entity» =&lt;br /&gt;
&lt;br /&gt;
== Entity:EntityPos ==&lt;br /&gt;
'''Описание''' &amp;lt;br /&amp;gt;&lt;br /&gt;
This node handles all position related manipulations of the owner entity. All position information of the target entity can be read from the output ports.&lt;br /&gt;
Unlike the Entity:GetPos node the output ports of this node are triggered whenever one of the target entities properties changes. It is not possible to manually trigger the Entity:EntityPos node.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image001.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
In this example the position output port is used with a Vec3:AddVec3 node to perform a simple vector operation.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''pos'''&lt;br /&gt;
&lt;br /&gt;
Entity will be set to the position entered here.&lt;br /&gt;
&lt;br /&gt;
'''rotate'''&lt;br /&gt;
&lt;br /&gt;
Entity will be set to the rotation entered here.&lt;br /&gt;
&lt;br /&gt;
'''scale'''&lt;br /&gt;
&lt;br /&gt;
Entity will be scaled to the scale entered here.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''pos'''&lt;br /&gt;
&lt;br /&gt;
Position of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''rotate'''&lt;br /&gt;
&lt;br /&gt;
Rotation of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''scale'''&lt;br /&gt;
&lt;br /&gt;
Scale of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''fwdDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the Y axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''rightDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the X axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''upDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the Z axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
== Entity:EntityInfo ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
This node outputs the id, name, class and archetype of the target node when triggered. In cases where entity types need to be compared this node is very useful.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image002.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
In this example the name of the target entity of the Entity:EntityInfo node is compared to a string using a String:Compare.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Get'''&lt;br /&gt;
&lt;br /&gt;
Used to trigger the output ports&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''Id'''&lt;br /&gt;
&lt;br /&gt;
Id of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''Name'''&lt;br /&gt;
&lt;br /&gt;
Name of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''Class'''&lt;br /&gt;
&lt;br /&gt;
Class of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''Archetype'''&lt;br /&gt;
&lt;br /&gt;
Archetype class of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
== Entity:EntityId ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:EntityId node outputs the entity id of the target entity. The node does not need to be triggered since the entity id never changes.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image003.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
The entity id is used to define the target of the Movement:MoveEntityTo node in this example.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''Id'''&lt;br /&gt;
&lt;br /&gt;
The entity id is output on this port.&lt;br /&gt;
&lt;br /&gt;
== Entity:BeamEntity ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:BeamEntity node is used to beam objects instantly to any position in the level. When the Beam port is triggered the target entity is moved to the position input on the Position port.&lt;br /&gt;
Additionally rotation and scale can be set using the input ports to match the beamed entity to another entity. In contrary to the Movement:MoveEntityTo this node performs the position change instantly, instead over time.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image004.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
An entity is beamed to the position of a tag point. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Beam'''&lt;br /&gt;
&lt;br /&gt;
The Beam port starts the repositioning of the entity.&lt;br /&gt;
&lt;br /&gt;
'''Position'''&lt;br /&gt;
&lt;br /&gt;
The entity will be beamed to this position.&lt;br /&gt;
&lt;br /&gt;
'''Rotation'''&lt;br /&gt;
&lt;br /&gt;
This rotation will be set when the entity is beamed.&lt;br /&gt;
&lt;br /&gt;
'''Scale'''&lt;br /&gt;
&lt;br /&gt;
This scale will be set when the entity is beamed.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''Done'''&lt;br /&gt;
&lt;br /&gt;
An output on this port is triggered when the entity has been beamed.&lt;br /&gt;
&lt;br /&gt;
== Entity:EntitiesInRange ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:EntitiesInRange node takes the positions of two entities and checks if they are in a certain range to each other. Depending on the result of the check the output ports are triggered.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image005.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
The positions of the player and a tag point are being compared and a positive output is triggered when they are within range of one meter.&lt;br /&gt;
&lt;br /&gt;
'''Port Description'''&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Trigger'''&lt;br /&gt;
&lt;br /&gt;
The Trigger port starts the distance check.&lt;br /&gt;
&lt;br /&gt;
'''Entity1'''&lt;br /&gt;
&lt;br /&gt;
The id of the first entity to be compared is input on this port.&lt;br /&gt;
&lt;br /&gt;
'''Entity2'''&lt;br /&gt;
&lt;br /&gt;
The id of the second entity to be compared is input on this port.&lt;br /&gt;
&lt;br /&gt;
'''Range'''&lt;br /&gt;
&lt;br /&gt;
The distance to be checked.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''InRange'''&lt;br /&gt;
&lt;br /&gt;
This Boolean port outputs true if the entities are in range and false if they are not in range.&lt;br /&gt;
&lt;br /&gt;
'''True'''&lt;br /&gt;
&lt;br /&gt;
This output port is triggered if the result of the distance check is true.&lt;br /&gt;
&lt;br /&gt;
'''False'''&lt;br /&gt;
&lt;br /&gt;
This output port is triggered if the result of the distance check is false.&lt;br /&gt;
&lt;br /&gt;
== Entity:AttachChild ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
This node attaches another entity to its target entity. The child entity will be linked to the target entity until the link is removed.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image006.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
The child entity defined in the Child input port is attached to the target entity.&lt;br /&gt;
&lt;br /&gt;
'''Inputs&lt;br /&gt;
&lt;br /&gt;
'''entityId&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Attach'''&lt;br /&gt;
&lt;br /&gt;
'''Child'''&lt;br /&gt;
&lt;br /&gt;
'''KeepTransform'''&lt;br /&gt;
&lt;br /&gt;
'''DisablePhysics'''&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
== Entity:GetPos ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The functionality of this node is similar to the Entity:EntityPos node but instead of triggering the output ports whenever any position information changes it only outputs when triggered to do so.&lt;br /&gt;
The only input port is the &amp;amp;#8216; Get &amp;amp;#8217; port, which when triggered outputs the according information on all output ports.&lt;br /&gt;
In situations where a constant update is too expensive the Entityy:GetPos should be used instead of theEntityy:EntityPos node which continuously outputs on all ports when any position value changes.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image007.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
In this example the position output port is used with a Vec3:AddVec3 node to perform a simple vector operation.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
&lt;br /&gt;
'''entityId&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Get'''&lt;br /&gt;
&lt;br /&gt;
Used to trigger all output ports.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''Pos'''&lt;br /&gt;
&lt;br /&gt;
Position of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''Rotate'''&lt;br /&gt;
&lt;br /&gt;
Rotation of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''Scale'''&lt;br /&gt;
&lt;br /&gt;
Scale of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''FwdDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the Y axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''RightDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the X axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
'''UpDir'''&lt;br /&gt;
&lt;br /&gt;
Direction of the Z axis of the entity is output on this port.&lt;br /&gt;
&lt;br /&gt;
== Entity:BroadcastEvent ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:BroadcastEvent node is used to send an event to one or more entities. The entities that will receive this event are specified by inputting a string to the _name_ port. Each entity that has the string which is input there as a part of their name will receive the event set in the _event_ port.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image008.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
In this example the Entity:BroadcastEvent node is used to send a Kill event to all entities which have the string &amp;amp;#8216;Enemy_&amp;amp;#8217; in their name.&lt;br /&gt;
&lt;br /&gt;
'''Inputs:'''&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''send'''&lt;br /&gt;
&lt;br /&gt;
This port sends out the event to the target entities.&lt;br /&gt;
&lt;br /&gt;
'''event'''&lt;br /&gt;
&lt;br /&gt;
The event name is defined here.&lt;br /&gt;
&lt;br /&gt;
'''name'''&lt;br /&gt;
&lt;br /&gt;
The string input here defines which entities will get event.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
== Entity:DetachThis ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:DetachThis node is used to detach entities from its parent entity. Usually the Entity:AttachChild node has been used before to link the target entity to another entity.&lt;br /&gt;
The node has two additional ports to set transform an physics settings. When «KeepTransform» is set, the entity will keep its transformation in world space when detached. When «EnablePhysics» is set, physics will be re-enabled again when the entity is detached.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Sandbox_RefFlowgraphEntityNodes_image009.jpg]] &amp;lt;br /&amp;gt;&lt;br /&gt;
First «MyEntity_1» is attached to «MyEntity_2» using the Entity:AttachChild node. The ID of the child entity is defined using the _Entity:EntityId node. Five seconds later the Entity:DetachThis node is used to detach it again from its parent.&lt;br /&gt;
&lt;br /&gt;
'''Inputs:'''&lt;br /&gt;
&lt;br /&gt;
'''entityId'''&lt;br /&gt;
&lt;br /&gt;
Used when changing the attached entity dynamically. Displays the name of the node.&lt;br /&gt;
&lt;br /&gt;
'''Detach'''&lt;br /&gt;
&lt;br /&gt;
Detaches the target entity from its parent.&lt;br /&gt;
&lt;br /&gt;
'''KeepTransform'''&lt;br /&gt;
&lt;br /&gt;
When checked the entity will keep it transformation.&lt;br /&gt;
&lt;br /&gt;
'''EnablePhysics'''&lt;br /&gt;
&lt;br /&gt;
Re-enabled physic on the entity when detached.&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
NA&lt;br /&gt;
&lt;br /&gt;
== Entity:GetPlayer ==&lt;br /&gt;
'''Description''' &amp;lt;br /&amp;gt;&lt;br /&gt;
The Entity:GetPlayer node is used to detect the player. Unlike the Game:LocalPlayer node, it can be used in Multiplayer once it’s being used by the client. (Will only work for clients. Not servers) Usually, the Entity:GetPlayer node is used to get the Player ID, for example getting the player ID to teleport the player. The node only has one port, the one that outputs the entity ID. («Player»)&lt;br /&gt;
&lt;br /&gt;
[[Файл:EntityGetPlayer.JPG]] &amp;lt;br /&amp;gt;&lt;br /&gt;
First the destination of «Destination» is sent to Entity:BeamEntity, and then the Players ID is sent to the Entity:BeamEntity node. Then, when the game is started, an signal is sent to the Beam input of Entity:BeamEntity so that the chosen player is teleported to the «Destination»&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
&lt;br /&gt;
'''Player'''&lt;br /&gt;
&lt;br /&gt;
The Players entity id is output on this port.&lt;br /&gt;
&lt;br /&gt;
[[Категория:Official:References:Flow Graph Nodes]]&lt;/div&gt;</summary>
		<author><name>DCamer</name></author>	</entry>

	</feed>