Map doors, with scripting - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Map doors, with scripting (/thread-13222.html) |
Map doors, with scripting - Skashi - 02-10-2012 Is it possible to script a door (for example level_hub_01) to choose the map where you have to teleport? Because there's something wrong with the map order and i have to edit some doors but when i open the maps, all the entities disapear... is it possible? to make a script where you can change that the door leads you to an another map? like: void on start () level_hub_1, "map4" "true" or something? RE: Map doors, with scripting - Elven - 02-10-2012 make 2 level doors and change them to different destinations. Just disable that level door which u dont want to use and later use: SetEntityActive method to set current level door inactive and later level door active. |