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
Script Help How to Make an ending?
trollox Offline
Member

Posts: 215
Threads: 16
Joined: Dec 2011
Reputation: 3
#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
FlaW Offline
Junior Member

Posts: 48
Threads: 9
Joined: Nov 2011
Reputation: 0
#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
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#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
trollox Offline
Member

Posts: 215
Threads: 16
Joined: Dec 2011
Reputation: 3
#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




Users browsing this thread: 2 Guest(s)