Description
The vertical angle in degrees of a player's current facing relative to the world. This value increases as the player looks down.
Return
float
Arguments
Name: PLAYER
Description: The player whose vertical facing angle to acquire.
Type: Player
Default: EVENT PLAYER
Uses
Vertical Facing Angle Of can be used to commonly make Roadhogs ultimate push him the opposite direction
Opposite direction
actions
{
Apply Impulse(Event Player, Vector(0, Vertical Facing Angle Of(Event Player), -180 + Vertical Facing Angle Of(Event Player)), 30,
To Player, Cancel Contrary Motion);
}
Up and down only (Y Coordinate)
actions
{
Apply Impulse(Event Player, Vector(0, Vertical Facing Angle Of(Event Player), 0), 30, To Player, Cancel Contrary Motion);
}