Skip to content

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.


Interactions


Any Interaction

Any interactions trigger when any of the contained interactions evaluate to true.

Properties

System

Name Explanation Type
Interactions The interactions to poll from. Interaction

Automatic Interaction

Automatic interactions trigger whenever the script is present.


Entity Entity Collision Interaction

Entity Entity Collision interactions trigger when an entity collides with another entity.


Entity Entity No Collision Interaction

Entity Entity No Collision interactions trigger when an entity is not colliding with another entity.

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


Player Entity Collision Interaction

Player Entity Collision interactions trigger when the player collides with an entity.


Player Entity No Collision Interaction

Player Entity No Collision interactions trigger when the player is not colliding with an entity.


Player Key Collision Interaction

Player Key Collision interactions trigger when a player presses the action key and collides with an entity.

Note: For example, this is the most common kind of interaction, generally used for talking or interacting with entities.


Projection Interaction

Projection interactions trigger when a projection collides with the entity.

Properties

System

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

Virtual Key Interaction

Virtual Key interactions trigger when a virtual key is being pressed.

Note: For example, this interaction allows for non-action key presses.

Properties

System

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

World Collision Interaction

World Collision interactions trigger when an entity collides with world geometry, outside of other entities.

Note: For example, this can detect when an entity walks into a wall or terrain boundary.