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.
The Any Interaction occurs when any of the interactions contained evaluates to true.
| Name | Explanation | Type |
|---|---|---|
| Interactions | The interactions to poll from. | Interaction |
The Automatic Interaction automatically occurs when the script is present.
The Entity and Entity Touching Interaction occurs when an entity collides with another entity.
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.
The Player and Entity Touching Interaction occurs when the player collides with an entity.
The Player and Entity Not Touching Interaction occurs when the player is not colliding with an entity.
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.
The Projection Interaction occurs when a projection collides with the entity.
| Name | Explanation | Type |
|---|---|---|
| Projection | The type of projection that is required. | Projection |
The Virtual Key Interaction occurs when a virtual key is being pressed.
Note: This interaction allows for non-action key presses.
| 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 |