Frictional Games Forum (read-only)

Full Version: :(
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
IT IS WORKINGGGG WOOOOOOHOOOO Smile
Reputation+ for you Tongue
There you go Stradix.
Did you see what was wrong my friend?
You added 1 Catagory too much.
-
Hint : Try to see what you did wrong and understand it.
( see others scripts and english files just to cheat a little Wink )

Btw add SOLVED please. : Script Help Sad = SOLVED
Thanks and we are here for any other issues.
Hh thanks man! Smile i will
But i have 2 problem

First
Spoiler below!
Call me Straxedix Tongue (kidding)

Second
Spoiler below!
When i wanna make SetMessage without wake up just walk in area how i will do that ?
If i understand you correctly ;
Make a scriptarea and call it whatever you want let's say MessageLivingRoom ( level editor )
Then make a script OnStart()
and call it :
PHP Code:
AddEntityCollideCallback("Player""MessageLivingRoom""NAMEOFEVENT"true1); 
Then
PHP Code:
void NAMEOFEVENT(string &in asParentstring &in asChildint alState)
{
SetMessage("Ch01Level01_Message1""YOURNAMEOFMESSAGE"5);


I have to go.
Might be back later on.
The members here will help you any further if you have some quesitons.
Good luck!
I try like this

Spoiler below!
AddEntityCollideCallback("Player", "TextHere", "Text1", true, 1);

void Text1(string &in asParent, string &in asChild, int alState)
{
SetMessage("Ch02Level02", "WakeUpMessage1", 5);
}

and area is called TextHere

.lang

Spoiler below!
<CATEGORY Name="Ch02Level02">
<Entry Name="WakeUpMessage1">This house...I know it...That monster maybe she put me here!</Entry>
</CATEGORY>

Anyone Sad
You put AddEntityCollideCallback("Player", "TextHere", "Text1", true, 1); in void OnStart()
Pages: 1 2 3