Black Ops III

SetZBarrierPieceState

Set's the state of the piece indexed in the zbarrier ent. States are open, opening, closed and closing.

Example:

ent SetZBarrierPieceState(1, "open", 0.8)

Parameters

ParameterSummary
*piece numberThe piece index.
*stateState to set - valid states are open, opening, closed and closing.
[animation scalar]Valid range 0.1 - 2.0, changes the playback speed of the animation in the set state - numbers less than 1.0 are faster.

* = mandatory