This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
global:block [2014/04/29 03:35] 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 |
- | * **Fixed:** Choose the amount of fixed frames | + | |
- | * **Block Stun Percentage:** Instead of a fixed value, the parry can be based off the amount of block stun the hit generates. | + | |
- | **Parry | + | **Parry |
- | **Effect Kill Time:** How long should | + | **Parry Stun Type:** Determines |
+ | - **Fixed:** A fixed number of frames for parry stun. (Default: Fixed) | ||
+ | - **Block Stun Percentage: | ||
- | **Parry | + | **Parry |
- | **Allow Air Parry: | + | **Highlight When Parry: |
+ | - **Parry Color Mask:** The color to flash when a parry is executed. (Default: Red). | ||
- | **Highlight When Parry**: | + | **Allow Air Parry:** Enables parries while in the air (Default: Disabled). |
- | **Ignore Applied Forces: | + | **Ignore Applied Forces: |
- | **Parry Color:** If highlight is toggled, | + | **Reset Button Sequence:** Resets |
+ | |||
+ | **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 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: | ||
+ |