Interactable Objects
The interactive nodes are interactable objects that can be placed in the world and trigger various actions.
The Interactive Node component can be placed on any game object. For it to work, make sure the game object has an active collider.
Generic Data:
Field Name | Function |
---|---|
Is Click Enabled? | Should this interactable object be triggered upon mouse click? |
Is Trigger Enabled? | Should this interactable object be triggered upon character collision? |
Use Distance | The maximum distance at which this interactable object can be interacted with. |
Use Requirement | In here you can define a requirement template that has to be met before the player can use this interactable object. |
State |
|
Cooldown | The cooldown duration after use. |
Interaction Time | The duration of the interaction. |
Use Distance Max | The max distance from which this interactable object can be used. |
Ready Visual | The game object (inside the interactable object parent) to have enabled while the State is Ready. |
On Cooldown Visual | The game object (inside the interactable object parent) to have enabled while the State is On Cooldown. |
Consumed Visual | The game object (inside the interactable object parent) to have enabled while the State is Consumed. |
Interactable Name | The name that will be displayed when you get in the use range of this interactable object. |
Y Offset | The Y offset (height) of the interactable name. |
Learn more about Requirement Templates here
Actions
Field Name | Function |
---|---|
Maximum Actions | The maximum action for this interactable object. For example you set the maxmimum actions to 2 but you add 3 actions, then only the first 2 actions will be executed. |
Chance | The percentage chance of the action being executed. |
Effect | This will trigger the defined effect. |
Quest | This will trigger the defined quest. |
Point | This will give the player a amount of the defined points, you can define the amount to give (add) as well. |
Give Character Experience | This will give the player x amount of character experience, you can define this amount. |
Give Skill Experience | This will give the player x amount of experience toward the defined skill, you can define this amount. |
Give Weapon Template Experience | This will give the player x amount of experience toward the defined weapon template, you can define this amount. |
Complete Task | This will completed the defined task. |
Save Character | This will save your progress. |
Resource | This will trigger the defined resource and give the player items based on the loot table that is defined within this resource. |
Chest | This will trigger the defined loot table and give the player items within it. |
Game Actions | This will trigger the defined game action template. |
Unity Event | This will fire the defined unity event. |
Learn more about Loot Tables here
Learn more about Game Actions here
Visual Effects
Field Name | Function |
---|---|
Spawn On |
|
Activate On |
|
Template | The visual effect template. |
Use Node Socket? | Should the visual effect be triggered at a node socket? |
Position Offset? | The position offset the visual effect will be spawned at relative to its spawn position. |
Attach To Object? | Should the visual effect be attached to its target? |
Scale | The scale at which the visual effect will be spawned. |
Duration | The duration in seconds the visual effect will remain in the scene. |
Delay | The delay in seconds after which the visual effect will be spawned. |
Learn more about Visual Effect Templates here
Animations
Field Name | Function |
---|---|
Animator | This animator is the one that will be used by the interactable object. |
Play on |
|
Activate on |
|
Template | The animation template. |
Delay | The delay in seconds before the animation plays. |
Learn more about Animation Templates here
Sounds
Field Name | Function |
---|---|
Play On |
|
Activate On |
|
Template | The visual effect template. |
Delay | The delay in seconds after which the visual effect will be spawned. |
Learn more about Sound Templates here
On This Page
Interactable ObjectsThe interactive nodes are interactable objects that can be placed in the world and trigger various actions.The Interactive Node component can be placed on any game object. For it to work, make sure the game object has an active collider.Generic Data:ActionsVisual EffectsAnimationsSounds