Hello 3com,
first of all thanks a lot for your time ! That you took the time to write the script, instructions as well as a youtube video is much ( and rightfully so ) appreciated! And it WORKS VERY WELL.
I will do my best to follow your example when I'm skilled enough to help in this community. ( contrary to what my profile suggests, I haven't spent that much time on gamecreator apps, but I discovered their products a long time ago)
I will just report a few issues I had, in case it might help other basic users like me : ( steam version )
1) I did not find the "\Documents\GameGuruApps\GameGuruMAX\Files\scriptbank\user" folder ( I have "\Documents\GameGuruApps\GameGuruMAX\Files\ though, just not a scriptbank folder so I put the door.lua file in the scriptbank\user" folder located in program files.
==> so far it works
==> maybe I should have manually added the scriptbank folder in\Documents
2) I thought it was necessary to rename your file ( door.lua ) since there is a default door.lua behaviour but renaming causes the door to do nothing, so here are the steps :
==> in any case do not overwrite the original door.lua file in program files !!
a) after enabling the "developer settings" submenu in object tools : click on the "..." icon next to "door.lua"
b)in the behaviour type tree to the left, locate and click "user"
c) select the "door" behaviour ( this is 3com's lua file that you put in the "scriptbank\user" folder ) - and that's it.
Of course, as 3com said, don't forget to edit 3com's lua file by entering the name of the level you want the user to move to ( quotes included )
Thank you again!