UCCombotterComponent
Overview
Combat system with three state machines: melee attack (combo), range attack (bow), and block. Uses CSimpleStateMachine from CCOREUMODULE. Drives montage playback and damage application.
Properties & Methods
| Name | Description |
|---|---|
| proceedAttack | Starts a melee attack combo sequence |
| proceedStartRangeAttack | Starts drawing the bow (range attack) |
| proceedEndRangeAttack | Releases the bow |
| proceedStartBlock | Starts blocking |
| proceedEndBlock | Ends blocking |
| isBlocking | Returns true if currently in blocking state |
| isAttacking | Returns true if currently in attacking state |
| collisionTestIfAttack | Sphere sweep to detect hittable actors considering team attitude |
| whatIfHitMelee | Applies melee damage to hit actors via TakeDamage |
| whatIfProjectileLaunch | Spawns a projectile actor with speed from bend-time curve |