Frictional Games Forum (read-only)

Full Version: How to create a memories script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to make a script in which to enter the script area is recorded in the log something?
Can you please specify what you want to achieve with your script, I do not understand completely.
@Wapez
I think he meant making mementos.
Spoiler below!

PHP Code:
AddQuest("MementoName""EntryName");
//MementoName is for the name of the memento. Just for reference in the script. Name it whatever you want.
//EntryName is the name of the entry in the journal. It must start with “Quest_<texthere>_Text”, with texthere the name of the Entry. Put it in the lang. 
This is for putting the memento in.

Spoiler below!

PHP Code:
CompleteQuest("MementoName""EntryName");
//Same as the add memento thing, but the entry name and memento name has to be correct. 
For making the memento complete.

You mean this?

Code:
void StartEffectEmotionFlash(string& asTextCat, string& asTextEntry, string& asSound);

Fades the screen to white and shows a text message.

asTextCat - the category in the .lang file
asTextEntry - the text entry in the .lang file
asSound - the sound to play while fading

Or do you mean a flashback?