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 for Kill the player when a Grunt kills me?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Script for Kill the player when a Grunt kills me?

Something like this should work:


void OnStart()
{
CheckPoint ("", "", "Credits", "", "");
}

void Credits(string &in asName, int alCount)
{
StartCredits("name_of_music.ogg", true, "name_of_text_category", "name_of_text_entry", 5);
}

name_of_music.ogg = name of the music file you want to be played
name_of_text_category = name of category in the lang file
name_of_text_entry = name of entry in the lang file


Hope that helped!

I rate it 3 memes.
09-09-2012, 11:48 PM
Find


Messages In This Thread
RE: Script for Kill the player when a Grunt kills me? - by Adny - 09-09-2012, 11:48 PM



Users browsing this thread: 1 Guest(s)