Menu
Lumberyard
Legacy Reference

ComponentEntity Nodes

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

You can use the following flow graph nodes to get and set various component entity system settings. These nodes only work with the component entity system.

In addition, with the following exceptions, flow graph nodes that have an Entity ID input port do not work with the component entity system nodes:

  • Physics:ActionImpulse node

  • Physics:Dynamics node

  • Movement:RotateEntity node

  • Entity:EntityID node

Audio:ExecuteOneShot node

Used to execute the audio trigger as a one-shot on the entity.

Inputs

Port Description
Activate Any Activates the node
Trigger String Audio trigger

Audio:StopOneShot node

Used to stop the specified audio one shot trigger.

Inputs

Port Description
Activate Any Activates the node
Trigger String Audio trigger

EventActionHandler:AZVector3 node

Used for the entity event action handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the event action handler
Enable Any Enables the event action handler
Disable Any Disables the event action handler

Outputs

Port Description
Success Vec3 Vector value on event action handler success
Failure Vec3 Vector value on event action handler failure

EventActionHandler:EntityID node

Used for the entity event action handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the event action handler
Enable Any Enables the event action handler
Disable Any Disables the event action handler

Outputs

Port Description
Success Any Value on event action handler success
Failure Any Value on event action handler failure

EventActionHandler:Float node

Used for the entity event action handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the event action handler
Enable Any Enables the event action handler
Disable Any Disables the event action handler

Outputs

Port Description
Success Float Float value on event action handler success
Failure Float Float value on event action handler failure

EventActionSender:AZVector3 node

Used for the entity event action sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the event action sender
SendEventValue Vec3 Vector value for the event action sender
Eventname String Name of the event action sender

EventActionSender:EntityID node

Used for the entity event action sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the event action sender
SendEventValue Any Value for the event action sender
Eventname String Name of the event action sender

EventActionSender:Float node

Used for the entity event action sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the event action sender
SendEventValue Float Float value for the event action sender
Eventname String Name of the event action sender

GameplayEventHandler:AZVector3 node

Used for the gameplay event handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the gameplay event handler
Enable Any Enables the gameplay event handler
Disable Any Disables the gameplay event handler

Outputs

Port Description
Success Vec3 Vector value on event gameplay event handler success
Failure Vec3 Vector value on gameplay event handler failure

GameplayEventHandler:EntityID node

Used for the gameplay event handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the gameplay event handler
Enable Any Enables the gameplay event handler
Disable Any Disables the gameplay event handler

Outputs

Port Description
Success Any Value on gameplay event handler success
Failure Any Value on event gameplay event handler failure

GameplayEventHandler:Float node

Used for the gameplay event handler.

Inputs

Port Description
ChannelId Any Entity channel ID
EventName String Name of the gameplay event handler
Enable Any Enables the gameplay event handler
Disable Any Disables the gameplay event handler

Outputs

Port Description
Success Float Float value on event action handler success
Failure Float Float value on event action handler failure

GameplayEventSender:AZVector3 node

Used for the gameplay event sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the gameplay event sender
SendEventValue Vec3 Vector value for the gameplay event sender
Eventname String Name of the gameplay event sender

GameplayEventSender:EntityID node

Used for the gameplay event sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the gameplay event sender
SendEventValue Any Value for the gameplay event sender
Eventname String Name of the gameplay event sender

GameplayEventSender:Float node

Used for the gameplay event sender.

Inputs

Port Description
Activate Any Activates the node
ChannelID Any ID of the channel for the gameplay event sender
SendEventValue Float Float value for the gameplay event sender
Eventname String Name of the gameplay event sender

Light:Switch node

Used to turn the light entity on or off.

Inputs

Port Description
On Any Turns the light on
Off Any Turns the light off

Particles:Switch node

Used to show or hide the particle entity.

Inputs

Port Description
Show Any Displays the particle
Hide Any Hides the particle

TransformComponent:GetEntityPosition node

Used to get the entity position.

Inputs

Port Description
Activate Any Activates the node
Coordinate System Integer Coordinate system used

Outputs

Port Description
CurrentPosition Vec3 Outputs the current entity position

TransformComponent:GetEntityRotation node

Used to get the entity rotation.

Inputs

Port Description
Activate Any Activates the node
Coordinate System Integer Coordinate system used

Outputs

Port Description
CurrentRotation Vec3 Current entity rotation
Forward Vec3 Entity forward position
Up Vec3 Entity up position
Right Vec3 Entity right position

TransformComponent:SetEntityPosition node

Used to set entity position.

Inputs

Port Description
Activate Any Activates the node
NewPosition Vec3 Position to be set
Coordinate System Integer Coordinate system used

TransformComponent:SetEntityRotation node

Used to set entity rotation.

Inputs

Port Description
Activate Any Activates the node
Rotation Vec3 Rotation to be set
Coordinate System Integer Coordinate system used

TriggerComponent:EnterTrigger node

Used to trigger when the entity enters or leaves the trigger area.

Outputs

Port Description
Entered Any Triggers when entity enters the trigger area
Exited Any Triggers when entity leaves the trigger area