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
Examine script
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#12
RE: Examine script

(08-08-2013, 11:14 AM)Tomzzz Wrote: well:


<LANGUAGE>
<CATEGORY Name = "Examine">
<Entry Name="InteractCandlestick">It is a candlestick</Entry>
</CATEGORY>

thats all im using in lang since ive just started creating new custom story... and i'll dont add anything until this problem will be fixed..

<LANGUAGE>
<CATEGORY Name = "Examine">
<Entry Name="InteractCandlestick">It is a candlestick</Entry>
</CATEGORY>
</LANGUAGE>

That's what was wrong. However, if you want a message, the .lang file must be changed:

GOOD .LANG FILE

<LANGUAGE>
<CATEGORY Name = "Messages">
<Entry Name="InteractCandlestick">It is a candlestick</Entry>
</CATEGORY>
</LANGUAGE>

And your fixed script:


void OnStart()
{    
///As you already do my thing in the level editor, is not necessary to put that function here
}

//This gets called when you interact with your area

void InteractCandlestick(string &in asEntity)
{
SetMessage("Messages", "InteractCandlestick", 0);
}


void OnLeave()
{

}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-08-2013, 11:19 AM
Find


Messages In This Thread
Examine script - by Tomzzz - 08-08-2013, 07:41 AM
RE: Examine script - by The chaser - 08-08-2013, 10:00 AM
RE: Examine script - by Tomzzz - 08-08-2013, 10:19 AM
RE: Examine script - by Adrianis - 08-08-2013, 11:03 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:07 AM
RE: Examine script - by Adrianis - 08-08-2013, 12:21 PM
RE: Examine script - by The chaser - 08-08-2013, 11:07 AM
RE: Examine script - by Kreekakon - 08-08-2013, 11:12 AM
RE: Examine script - by The chaser - 08-08-2013, 11:15 AM
RE: Examine script - by The chaser - 08-08-2013, 11:14 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:14 AM
RE: Examine script - by The chaser - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:25 AM
RE: Examine script - by The chaser - 08-08-2013, 11:36 AM



Users browsing this thread: 1 Guest(s)