SpawnInteractableCombatAction ​
Inherits: CombatAction < Resource
Spawns an interactable during combat at a specific position
Properties ​
int | interactable_id | 0 |
String | display_name | "" |
Vector3 | spawn_position | Vector3.ZERO |
bool | use_entity_position | false |
Vector3 | position_offset | Vector3.ZERO |
float | position_variance | 0.0 |
Vector3 | spawn_rotation | Vector3.ZERO |
bool | use_entity_rotation | false |
Vector3 | rotation_offset | Vector3.ZERO |
float | rotation_variance | 0.0 |
bool | face_target | false |
bool | set_as_summoner | true |
bool | copy_target_for_traps | true |
Property descriptions ​
Interactable Selection
int interactable_id = 0 ​
Choose spawn method: true for category/scene, false for type
String display_name = "" ​
Display name for the spawned interactable (optional)
Positioning
Vector3 spawn_position = Vector3.ZERO ​
Where the object appears.
bool use_entity_position = false ​
Use entity's position instead of spawn_position
Vector3 position_offset = Vector3.ZERO ​
Offset from the chosen position
float position_variance = 0.0 ​
Add random position variance (radius in meters)
Rotation
Vector3 spawn_rotation = Vector3.ZERO ​
Euler angles in degrees
bool use_entity_rotation = false ​
Use entity's rotation instead of spawn_rotation
Vector3 rotation_offset = Vector3.ZERO ​
Additional rotation offset in degrees
float rotation_variance = 0.0 ​
Add random rotation variance (degrees)
bool face_target = false ​
Face towards entity's target (overrides other rotation settings for applicable interactables)
Behavior
bool set_as_summoner = true ​
Set the spawning entity as the summoner of the interactable
bool copy_target_for_traps = true ​
For traps: should they target the entity's current target?