User Tools

Site Tools


global:block

This is an old revision of the document!


Table of Contents

Block Options

Set how combos and deterioration behave in your game.

Block

Block Input: The selected game input for blocking.

Block Effect: A prefab with particle effects that is fired when the character blocks.

Effect Kill Time: How long should the effect last before being destroyed.

Block Sound: A sound effect that plays when a character blocks.

Allow Air Block: If enabled, characters can block while in the air.

NOTE: Air Block mechanic works like in Marvel Vs series, not Street Fighter Alpha series.

Parry

Parry Input: What input should the player “tap” to be able to parry (or “just block”) a hit.

Parry Timing: The lower the number, the harder it is to parry.

Parry Stun Type:

  • Fixed: Choose the amount of fixed frames the parry animation will run for.
  • Block Stun Percentage: Instead of a fixed value, the parry can be based off the amount of block stun the hit generates.

Parry Effect: A prefab with particle effects that is fired when the character parries.

Effect Kill Time: How long should the effect last before being destroyed.

Parry Sound: A sound effect that plays when a character parries.

Allow Air Parry: Whether or not characters can parry while in the air.

Highlight When Parry: Should a character flash to a new color when they parry?

Ignore Applied Forces: If enabled, the character will not be pushed by the hit.

Reset Button Sequence: Removes the character's store button sequence after they parry.

Parry Color: If highlight is toggled, the character will flash into this color for a split second when parrying.


Code access:

UFE.config.blockOptions

Code example:

if (UFE.config.player1Character.currentLifePoints < 10){
	UFE.config.blockOptions.parryColor = Color.red;
}

< Back to Global Editor

global/block.1431649577.txt.gz · Last modified: 2015/05/14 20:26 by Mistermind