FrontEdgeBodyDist
From M.U.G.E.N Wiki
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.