I want to make a action so that if player jumps from more than a certain height then he dies. Only way it will be possible in my mind will be measuring player height while falling.
Measuring y position of the level does not work as Its a like a platformer game, so there are platforms at all heights in the level. I want somthing that will work everywhere and will measure the distance between the player and floor(which is different everywhere)
I agree with MrMen, that’s probably the easiest way to do it.
An alternative method would be two events based around the “Player is falling” condition.
First subevent would track the Y position of the player as a variable once they are in the “is falling” state (with the trigger once condition).
Second subevent would compare the Y position of the player against that variable from the prior subevent + a certain amount based off whatever you decide. (e.g. Y position of player >= YourVariableHere+300) would mean that the player has fallen 300 pixels from when they started falling. At that point you can do whatever actions you want, including tracking some form of death state.