This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
global:block [2013/12/09 23:04] Mistermind created |
global:block [2024/12/04 04:45] (current) Mistermind |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Block Options ====== | ====== Block Options ====== | ||
- | Set how combos | + | Configure the blocking |
- | {{ :global:global_block.jpg?nolink |}} | + | {{ :global:global_blockoptions.png?nolink |}} |
- | **Block Input:** The selected game input for blocking. | + | ---- |
- | **Block Effect:** A prefab with particle effects that is fired when the character blocks. | + | ===== Block ===== |
- | **Effect Kill Time:** How long should | + | **Block Input:** Determines |
- | **Block | + | **Allow Air Block: |
- | **Allow Air Block:** Rather or not characters can block while in the air. | + | **Ignore Applied Forces:** Prevents |
+ | **Allow Move Canceling: | ||
- | **Parry Input:** What input should the player " | + | ---- |
- | **Parry Timing:** The lower the number, the harder it is to parry | + | ===== Parry ===== |
- | **Parry | + | **Parry |
- | **Effect Kill Time:** How long should the effect last before being destroyed. | + | **Parry Timing:** The window for successfully executing a parry. Lower values make it more challenging. (Default: 0.3 seconds). |
- | **Parry | + | **Parry |
+ | - **Fixed:** A fixed number of frames for parry stun. (Default: Fixed) | ||
+ | - **Block Stun Percentage: | ||
- | **Allow Air Parry: | + | **Parry |
- | **Highlight When Parry**: Should | + | **Highlight When Parry:** Toggles |
+ | - **Parry Color Mask:** The color to flash when a parry is executed. (Default: Red). | ||
- | **Parry | + | **Allow Air Parry: |
+ | |||
+ | **Ignore Applied Forces:** Prevents | ||
+ | |||
+ | **Reset Button Sequence:** Resets the character' | ||
+ | |||
+ | **Enable Easy Parry:** Makes it easier to parry by extending the parry window across multiple hits (Default: Disabled). | ||
---- | ---- | ||
- | Code Access: '' | + | |
+ | Code access: | ||
+ | |||
+ | ``UFE.config.blockOptions`` | ||
+ | |||
+ | Code example: | ||
+ | <code c#> | ||
+ | if (UFE.config.player1Character.currentLifePoints < 10){ | ||
+ | UFE.config.blockOptions.parryColor = Color.red; | ||
+ | } | ||
+ | </ | ||
---- | ---- | ||
+ | |||
+ | [[global: | ||
+ |