Frictional Games Forum (read-only)

Full Version: How to make an emotional stone script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You know what's an emotional stone, the cylinder stone thing with a blue jewel on top and when you touch it, it fades into white and gets a message. I want to make that in my custom story since it's a boy who remmbers something about this uspicious castle when he was a kid.!

Pls give me the whole code for it and I will put the names and etc pls. thanks Smile

and give me instructions pls of what I have to do in the level editor and lang and stuff.
go into the level_editor. It's under entities > gameplay > emotion_stone.

TextCat - the catergory of the text shown example: Journal, descriptions, whatever (Here)

TextEntry - the name of the text shown (ThisRightHere)



<CATEGORY Name="Here">
<Entry Name="ThisRightHere">Whatever text you want shown</Entry>
</CATEGORY>
Or use:

PHP Code:
void StartEffectEmotionFlash(stringasTextCatstringasTextEntrystringasSound); 

if you don't want to use the specific entity