05-03-2014, 07:25 PM
05-03-2014, 07:29 PM
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 )
Btw add SOLVED please. : Script Help = SOLVED
Thanks and we are here for any other issues.
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 )
Btw add SOLVED please. : Script Help = SOLVED
Thanks and we are here for any other issues.
05-03-2014, 07:32 PM
Hh thanks man! i will
But i have 2 problem
First
Second
But i have 2 problem
First
Spoiler below!
Call me Straxedix (kidding)
Second
Spoiler below!
When i wanna make SetMessage without wake up just walk in area how i will do that ?
05-03-2014, 07:35 PM
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 :Then
I have to go.
Might be back later on.
The members here will help you any further if you have some quesitons.
Good luck!
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", true, 1);
PHP Code:
void NAMEOFEVENT(string &in asParent, string &in asChild, int 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!
05-03-2014, 07:48 PM
I try like this
and area is called TextHere
.lang
Anyone
Spoiler below!
AddEntityCollideCallback("Player", "TextHere", "Text1", true, 1);
void Text1(string &in asParent, string &in asChild, int alState)
{
SetMessage("Ch02Level02", "WakeUpMessage1", 5);
}
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>
<Entry Name="WakeUpMessage1">This house...I know it...That monster maybe she put me here!</Entry>
</CATEGORY>
Anyone
05-03-2014, 10:59 PM
You put AddEntityCollideCallback("Player", "TextHere", "Text1", true, 1); in void OnStart()