This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
global:block [2014/01/09 00:02] Mistermind |
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 the character from being pushed by hits during a parry (Default: Disabled). |
- | Code access: | + | |
- | ''UFE.config.blockOptions'' | + | **Reset Button Sequence:** Resets the character's input buffer after executing a parry (Default: Disabled). |
- | Code example: | + | **Enable Easy Parry:** Makes it easier to parry by extending the parry window across multiple hits (Default: Disabled). |
+ | ---- | ||
+ | |||
+ | Code access: | ||
+ | |||
+ | ``UFE.config.blockOptions`` | ||
+ | Code example: | ||
<code c#> | <code c#> | ||
if (UFE.config.player1Character.currentLifePoints < 10){ | if (UFE.config.player1Character.currentLifePoints < 10){ | ||
- | UFE.config.blockOptions.parryColor = Color.red; | + | |
} | } | ||
</ | </ | ||
+ | |||
---- | ---- | ||
[[global: | [[global: | ||
+ |