User Tools

Site Tools


global:block

This is an old revision of the document!


Block Options

Set how combos and deterioration behave in your game.

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: Rather or not characters can block while in the air.

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: Rather 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.

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.1398756946.txt.gz · Last modified: 2014/04/29 03:35 by Mistermind