Interaction

Interaction

RPG Architect supports many interactable events for Entities. These events include things like collisions, key presses, and so forth.

Note: All interactions must evaluate to true for a script to execute.


Any Interaction

The Any Interaction occurs when any of the interactions contained evaluates to true.

Properties

System

Name Explanation Type
Interactions The interactions to poll from. Interaction

Automatic Interaction

The Automatic Interaction automatically occurs when the script is present.


Entity Entity Collision Interaction

The Entity and Entity Touching Interaction occurs when an entity collides with another entity.


Entity Entity No Collision Interaction

The Entity and Entity Not Touching Interaction occurs when an entity is not colliding with another entity.

Note: For example, a door entity may close if it is not touching or colliding with the player or another entity.


Player Entity Collision Interaction

The Player and Entity Touching Interaction occurs when the player collides with an entity.


Player Entity No Collision Interaction

The Player and Entity Not Touching Interaction occurs when the player is not colliding with an entity.


Player Key Collision Interaction

The Player Action Button occurs when a player presses the action key and collides with an entity.

Note: This is the most common kind of interaction, which is generally used for talking or interacting with entities.


Projection Interaction

The Projection Interaction occurs when a projection collides with the entity.

Properties

System

Name Explanation Type
Projection The type of projection that is required. Projection

Virtual Key Interaction

The Virtual Key Interaction occurs when a virtual key is being pressed.

Note: This interaction allows for non-action key presses.

Properties

System

Name Explanation Type
Is Ignoring Cooldown Whether or not the check ignores cooldowns. Toggle
Is Registering Cooldown Whether or not to register the input cooldown when triggered. Toggle
Virtual Key The virtual key to evaluate. Virtual Key