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
Ending map with a note
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#2
RE: Ending map with a note

void SetEntityCallbackFunc(string& asName, string& asCallback);
   Calls a function when the player interacts with a certain entity.
  Callback syntax: void MyFunc(string &in asEntity, string &in type)
  Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc
and
void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
   Starts the end credits screen.    asMusic - the music to play (including .ogg)
  abLoopMusic - determines whether the music should loop
  asTextCat - the category to be used in the .lang file (must be “Ending”)
  asTextEntry - the entry in the .lang file (must be “MainCredits”)
  alEndNum - Amnesia has 3 different endings and displays a code  at the bottom. Determines which code is displayed. 0-2 will display  codes, any other integer will not.
Smile

The Interrogation
Chapter 1

My tutorials
10-17-2011, 05:38 PM
Find


Messages In This Thread
Ending map with a note - by i3670 - 10-17-2011, 05:17 PM
RE: Ending map with a note - by Elven - 10-17-2011, 05:38 PM
RE: Ending map with a note - by schmupper - 10-17-2011, 05:38 PM
RE: Ending map with a note - by i3670 - 10-17-2011, 05:59 PM
RE: Ending map with a note - by schmupper - 10-17-2011, 09:10 PM
RE: Ending map with a note - by A Tricky Carnie - 10-18-2011, 08:50 PM



Users browsing this thread: 1 Guest(s)