sm.melee.getMeleeAttackHits
Performs melee attack check and returns a table of raycast results.
Kind: Function
Environments: Game
Game
sm.melee.getMeleeAttackHits( uuid, origin, directionRange, source )
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The uuid of the melee attack. |
origin |
Vec3 | The source position of the attack. |
directionRange |
Vec3 | The direction and reach of the attack. |
source |
Unit | The unit that is the source of the attack. |
Returns:
| Name | Type | Description |
|---|---|---|
RaycastResult |
table | A table containing RaycastResult data. |