Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Map doors, with scripting
Skashi Away
Pirate

Posts: 315
Threads: 28
Joined: Nov 2011
#1
Map doors, with scripting

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?
02-10-2012, 02:39 PM
Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#2
RE: Map doors, with scripting

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.

The Interrogation
Chapter 1

My tutorials
02-10-2012, 02:52 PM
Find




Users browsing this thread: 1 Guest(s)