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)
* = mandatory