Hello there ladies and gents of the internet!
I come here again asking for help only this time i understand what it is I am after.
I am having an event spawn at the tilemap.Y that is below the player.Y's feet.
If there is not a tile at the players feet (If the check returns a "-1" tilemapID), then it will search the tile below that and so forth, until it either does this 6 times or there is a tile at that tilemap.Y (check yields not -1)
So far I am using this to test for the tile below the players feet and looping until it hits the Max_Loop_Count.
If Platforms.PositionToTileY(Player_movement.ImagepointY(1)) >-1 ---- do a thing
This does not work consistently ans I have tried many other options too.
I am aware that I need to run a sub-routine that loops (I will use a group for the loop) to monitor how many times it does this and then condition appropriately.
I have naturally played around with testing and implementing varies things but to no avail.
Any help or links to advanced tutorials of the tile mapping are welcomed.
I look forward to hearing from you.