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
MacKetchup Offline
Junior Member

Posts: 25
Threads: 10
Joined: Apr 2013
Reputation: 0
#1
Ending

How do i end my story by clicking on the hub door?

Thanks on beforehand

MacKetchup
05-07-2014, 07:04 PM
Find
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
MacKetchup Offline
Junior Member

Posts: 25
Threads: 10
Joined: Apr 2013
Reputation: 0
#3
RE: Ending

Wow. That was fast. Thanks Big Grin
05-07-2014, 07:10 PM
Find
DnALANGE Offline
Banned

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

Your welcome.
Let me\us know if this works for you.
05-07-2014, 07:13 PM
Find
MacKetchup Offline
Junior Member

Posts: 25
Threads: 10
Joined: Apr 2013
Reputation: 0
#5
RE: Ending

Since im chased by a zombie. How do i get the chasing sound to stop and get the outro music to play?
05-08-2014, 02:39 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#6
RE: Ending

(05-08-2014, 02:39 PM)MacKetchup Wrote: Since im chased by a zombie. How do i get the chasing sound to stop and get the outro music to play?

Deactivate the "zombie" and then you should be done.

"Veni, vidi, vici."
"I came, I saw, I conquered."
05-08-2014, 03:18 PM
Find




Users browsing this thread: 2 Guest(s)