lolopon
Junior Member
Posts: 10
Threads: 5
Joined: Oct 2011
Reputation:
0
|
How to end a custom story
Hi!
Im wondering how you make the credit start rolling and ending a custom story when i enter a door.
Im still very "noob" at this custom story making and can't figure this one out.
Thanks in advance
|
|
10-19-2011, 03:20 PM |
|
flamez3
Posting Freak
Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation:
57
|
RE: How to end a custom story
This was hard for me aswell. I found a way around this. Instead of it actually making it start rolling once I interact with the door. I made an area script around the door, so when i stood on it, it would load the credits. Use this
void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "Load" , true , 1);
}
void Load(string &in asParent, string &in asChild, int alState)
{
StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
}
(This post was last modified: 10-20-2011, 12:21 PM by flamez3.)
|
|
10-20-2011, 12:21 PM |
|