The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different Level Door Question (scripting)
genmills Offline
Junior Member

Posts: 47
Threads: 7
Joined: Mar 2011
Reputation: 0
#1
Different Level Door Question (scripting)

Hello all!
I have a quick question. I am making an outdoor map that has several buildings, some of which will be locked. I want the doors to lead to new levels, but I want to use regular door models (castle doors, dungeon doors, etc.) instead of the "level" doors.

I know I can add an entity interact function that is triggered when the player clicks on a door, which causes the new level to load, but what do I do about locked doors? Is there a way I can make my function see if the door is unlocked or not before it loads the new level? Let me know if I am being clear enough. Thanks! Smile

p.s. My map is gonna be awesome! I scared myself so badly by accident today... I will try to post screens soon in another thread.
04-08-2011, 05:13 AM
Find


Messages In This Thread
Different Level Door Question (scripting) - by genmills - 04-08-2011, 05:13 AM



Users browsing this thread: 1 Guest(s)