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 Help How to create a memories script?
MaksoPL Offline
Member

Posts: 51
Threads: 26
Joined: Mar 2014
Reputation: 0
#1
How to create a memories script?

How to make a script in which to enter the script area is recorded in the log something?
06-28-2014, 11:58 AM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#2
RE: How to create a memories script?

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

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
06-28-2014, 11:59 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#3
RE: How to create a memories script?

@Wapez
I think he meant making mementos.
Spoiler below!

PHP Code: (Select All)
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: (Select All)
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.


"Veni, vidi, vici."
"I came, I saw, I conquered."
06-28-2014, 02:29 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#4
RE: How to create a memories script?

You mean this?

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?

Derp.
(This post was last modified: 06-28-2014, 03:13 PM by Neelke.)
06-28-2014, 03:13 PM
Find




Users browsing this thread: 2 Guest(s)