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
.Lang File Help Making credits WHEN LEAVING a .map file
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Making credits WHEN LEAVING a .map file

(01-16-2012, 09:26 PM)oscar1007 Wrote: Hi!
Maybe this sounds easy to you but well this is my first custom story.
So i have a level door which go to nothing. If i try to open it i will get an error.
Is there a way to make the credits when "opening" that door?

Thanks!
Make the player unable to touch/use the door using:

SetEntityInteractionDisabled("LEVELDOORNAME", true);


Then place a script area around the door. Go into the entity tab of the area on the right and make a callback function for "PlayerInteractCallback" to end the game.
01-16-2012, 10:22 PM
Find


Messages In This Thread
RE: Making credits WHEN LEAVING a .map file - by Statyk - 01-16-2012, 10:22 PM



Users browsing this thread: 1 Guest(s)