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
Level Editor Help Ending
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: Ending

Try this :
Put this on voidOnStart
SetEntityPlayerInteractCallback("YOURLEVELDOOR", "GOTOTHECREDITS", false);
-
This is the script :
PHP Code: (Select All)
void GOTOTHECREDITS(string &in asEntity)
{
StartCredits("YOURMUSICFILEHERE.ogg"false"Ending""EndMyStory"111);
SetPlayerActive(false); //Just so people cant move anymore. 

---
PHP Code: (Select All)
                 
<CATEGORY Name="Ending">
<
Entry Name="EndMyStory">YOURTEXTHERE</Entry>
</
CATEGORY>
</
LANGUAGE
(This post was last modified: 05-07-2014, 07:14 PM by DnALANGE.)
05-07-2014, 07:09 PM
Find


Messages In This Thread
Ending - by MacKetchup - 05-07-2014, 07:04 PM
RE: Ending - by DnALANGE - 05-07-2014, 07:09 PM
RE: Ending - by MacKetchup - 05-07-2014, 07:10 PM
RE: Ending - by DnALANGE - 05-07-2014, 07:13 PM
RE: Ending - by MacKetchup - 05-08-2014, 02:39 PM
RE: Ending - by PutraenusAlivius - 05-08-2014, 03:18 PM



Users browsing this thread: 1 Guest(s)