Frictional Games Forum (read-only)

Full Version: Map doors, with scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.