trollox
Member
Posts: 215
Threads: 16
Joined: Dec 2011
Reputation:
3
|
How to Make an ending?
Hi forums it's me trollox , again -.-...
Anyhow, i wonder how do i creat a endscript that takes me to the credits?
I guess i have to creat a regular script area that'll triggure the credits?
I'd be very happy if someone could write it down in details because this is my first map and got no other scripting / maping experience what so ever, so that would help.
Trollox
|
|
01-28-2012, 11:45 PM |
|
FlaW
Junior Member
Posts: 48
Threads: 9
Joined: Nov 2011
Reputation:
0
|
RE: How to Make an ending?
create a script area and write the script:
{
AddEntityCollideCallback("Player", "scriptarea", "credits", true, 1);
}
void credits(string &in asParent, string &in asChild ,int alState)
{
StartCredits("musicname", "music loop", "text category", "text entry", put more 3);
}
(This post was last modified: 01-29-2012, 12:14 AM by FlaW.)
|
|
01-29-2012, 12:14 AM |
|
Shadowfied
Senior Member
Posts: 261
Threads: 34
Joined: Jul 2010
Reputation:
5
|
RE: How to Make an ending?
The text category thought must be called "Ending" and the Entry must be "MainCredits"
|
|
01-30-2012, 08:52 AM |
|
trollox
Member
Posts: 215
Threads: 16
Joined: Dec 2011
Reputation:
3
|
RE: How to Make an ending?
I'm already done with the mod. But thanks for trying to help
|
|
01-30-2012, 01:23 PM |
|