This page aims to explain the technical details of the Hitbox Child Actor. Here, you will find tables showing the available properties and functions for this component.
Overview
The Hitbox Child Axtor contains five properties, two functions but event dispatchers. This section of the page contains detailed information about each of these elements, presented in tables for easier understanding.
5Properties
2 Functions
0Event Dispatcher
Properties
The Hitbox Child Axtor comes with a selection of properties that are used throughout the system. Below, you will find a table containing all the properties and some general information.
Name
Type
Description
Damage Range
Vector2
Defines the damage range of the hitbox (min - max).
Damage Type Class
Damage Type (Class)
The damage type that should be applied trough unreals default damage system.
Active
Boolean
Defines if the trigger is active and can do damage.
Initialized
Boolean
Defines if the trigger has been passed all values needed by the combat system.
Owning Actor
Actor
The actor that owns the Child Actor Component owning the hitbox.
Functions
The Hitbox Child Axtor comes with a range of public and private functions that can be used to detetct hits during attacks & apply damage. Below, you will find a table containing details of all the systems functions and some general information.
Name
Access
Description
Initialize Hitbox
public
Called by the combat system. Provides all needed values (Damage, Type etc).
Random Damage
private
Calculates a random damage within provided damage range.