BackEdgeDist

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: BackEdgeDist

BackEdgeDist gives the distance between the x-axis of the player and the edge of the screen behind of the player.

Format:
BackEdgeDist
Arguments:
none
Return type:
float
Error conditions:
none

Example:

trigger1 = BackEdgeBodyDist < 30
  Triggers if the x-axus of the player is within 30 pixels
  of the edge of the screen in back of him.


Personal tools