PosSet

From M.U.G.E.N Wiki

Jump to: navigation, search


State Controller: PosSet

Sets the player's position to the specified coordinates. The X coordinate is relative to the center of the screen, with positive values moving right. The Y coordinate is relative to the floor, with negative values moving up.

Required parameters:
none
Optional parameters:
x = x_value (float)
Specifies the new x-position of the player.
y = y_value (float)
Specifies the new y-position of the player.


Example:
[State PosSet]
Type = PosSet
Trigger1 = AnimElemTime(3) = 0
X = 0
Y = -90

Will set the player to the center of the screen and 90 pixels up from the floor.


Personal tools