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 :(
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#21
RE: :(

IT IS WORKINGGGG WOOOOOOHOOOO Smile
Reputation+ for you Tongue

(This post was last modified: 05-03-2014, 07:26 PM by Straxedix.)
05-03-2014, 07:25 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#22
RE: :(

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.
(This post was last modified: 05-03-2014, 07:31 PM by DnALANGE.)
05-03-2014, 07:29 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#23
RE: :(

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 ?

05-03-2014, 07:32 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#24
RE: :(

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: (Select All)
AddEntityCollideCallback("Player""MessageLivingRoom""NAMEOFEVENT"true1); 
Then
PHP Code: (Select All)
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!
(This post was last modified: 05-03-2014, 07:46 PM by DnALANGE.)
05-03-2014, 07:35 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#25
RE: :(

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

(This post was last modified: 05-03-2014, 08:39 PM by Straxedix.)
05-03-2014, 07:48 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#26
RE: :(

You put AddEntityCollideCallback("Player", "TextHere", "Text1", true, 1); in void OnStart()

Trying is the first step to success.
05-03-2014, 10:59 PM
Find




Users browsing this thread: 1 Guest(s)