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?
Nare Offline
Junior Member

Posts: 2
Threads: 1
Joined: Sep 2012
Reputation: 0
#3
RE: Script for Kill the player when a Grunt kills me?

(09-09-2012, 11:48 PM)andyrockin123 Wrote: 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!
But, i have to put a script area? and what i have to write into ""?

CheckPoint ("", "", "Credits", "", "");

i'm noob in scripts Sad

Edit: and this script is for show credits only? i want a grunt kill me and show credits :S do you understand?
(This post was last modified: 09-10-2012, 12:00 AM by Nare.)
09-09-2012, 11:59 PM
Find


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



Users browsing this thread: 1 Guest(s)