Did exist a way script or anything else(maybe except parallele event) that can process code when player touch but with event not at same level then player?
First let say I have an alternative solution already for what I want to do and this question is more for be able to keep a logic in my game and avoid a lot of unasasary code.
Basicly, it's just that I want that if I put an event wih level under player and put on even touch or in player touch(I don't know the difference to be honest), that will execute the code inside.
Let explain, I have object that move on the map, of course they can move over objet on floor(level under player). But I have to create a arrow event that let player enter on certain way on the tile only. They can get out of the tile by any direction. But for doing that I must curently put code at same level then player. So I have to put a lot of code jsut for make player enter on the tile, I have to handle a parralele event too because tile will appear over the player so I need to activate switch 4 with the same tile under plyaer and activate back same level then player when he leave the tile. Complicated but work. But if I want to push an objet over this tile, that will not work because of passibility will return false because it's 2 event at same level. Of course I can do aditional code for check for a special note tha autorize to pass using the same complex code but still...
Everything will be a lot more easy with a pluggin that will autorize to execute code with a event touch while it's level under player. Thanks for your help.
First let say I have an alternative solution already for what I want to do and this question is more for be able to keep a logic in my game and avoid a lot of unasasary code.
Basicly, it's just that I want that if I put an event wih level under player and put on even touch or in player touch(I don't know the difference to be honest), that will execute the code inside.
Let explain, I have object that move on the map, of course they can move over objet on floor(level under player). But I have to create a arrow event that let player enter on certain way on the tile only. They can get out of the tile by any direction. But for doing that I must curently put code at same level then player. So I have to put a lot of code jsut for make player enter on the tile, I have to handle a parralele event too because tile will appear over the player so I need to activate switch 4 with the same tile under plyaer and activate back same level then player when he leave the tile. Complicated but work. But if I want to push an objet over this tile, that will not work because of passibility will return false because it's 2 event at same level. Of course I can do aditional code for check for a special note tha autorize to pass using the same complex code but still...
Everything will be a lot more easy with a pluggin that will autorize to execute code with a event touch while it's level under player. Thanks for your help.
