Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help How to Make an ending?
Author Message
trollox Offline
Member

Posts: 223
Joined: Dec 2011
Reputation: 3
Post: #1
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
Find all posts by this user Quote this message in a reply
FlaW Offline
Junior Member

Posts: 48
Joined: Nov 2011
Reputation: 0
Post: #2
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
Find all posts by this user Quote this message in a reply
Shadowfied Offline
Senior Member

Posts: 262
Joined: Jul 2010
Reputation: 5
Post: #3
RE: How to Make an ending?
The text category thought must be called "Ending" and the Entry must be "MainCredits"

Current - Castle Darkuan
Other - F*cked Map
01-30-2012 08:52 AM
Find all posts by this user Quote this message in a reply
trollox Offline
Member

Posts: 223
Joined: Dec 2011
Reputation: 3
Post: #4
RE: How to Make an ending?
I'm already done with the mod. But thanks for trying to help Smile
01-30-2012 01:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)