FrontEdgeBodyDist/fr

From M.U.G.E.N Wiki

Jump to: navigation, search


This page is in progress of being translated to fr. You can help translating it or go to another language version that follows:



Trigger: FrontEdgeBodyDist

FrontEdgeBodyDist gives the distance between the front of the player (as determined by the front edge of his width bar) and the edge of the screen.

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

Example:

trigger1 = FrontEdgeBodyDist < 30
  Triggers if the front of the player is within 30 pixels
  of the edge of the screen in front of him.


Personal tools