TargetVelSet

From M.U.G.E.N Wiki

Jump to: navigation, search



State Controller: TargetVelSet

Sets all targets' velocities to the specified values. A positive x velocity is in the direction that the player is facing, while a positive y velocity is downward on the screen.

Required parameters:
none
Optional parameters:
x = x_value (float)
Specifies the value to set the x-velocity of the target to
y = y_value (float)
Specifies the value to set the y-velocity of the target to.
ID = target_id (int)
Specifies the desired target ID to affect. Only targets with this target ID will be affected. Defaults to -1 (affects all targets.)
Example:
none


Personal tools