Frictional Games Forum (read-only)
[SCRIPT] How to create a memories script? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] How to create a memories script? (/thread-25576.html)



How to create a memories script? - MaksoPL - 06-28-2014

How to make a script in which to enter the script area is recorded in the log something?


RE: How to create a memories script? - Wapez - 06-28-2014

Can you please specify what you want to achieve with your script, I do not understand completely.


RE: How to create a memories script? - PutraenusAlivius - 06-28-2014

@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.




RE: How to create a memories script? - Neelke - 06-28-2014

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?