Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Messages don't show up :(
Author Message
mrscoomich Offline
Member

Posts: 55
Joined: Mar 2012
Reputation: 0
Post: #1
Messages don't show up :(
When I test it through the custom story list,
I have added this:

void OnStart()
{
AddTimer("", 1, "Msg");
}


void Msg(string &in asTimer)
{
StartEffectEmotionFlash("Fade", "First", "");
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}

**********

The bold letters above are the trouble I have. After the timer occurs, the screen does the white flash but the message does not show up.

Here is the .lang script:



"There is only one happiness in this life, to love and be loved.[br][br] But I lived in the darkness."


How do you make it show up on the screen ?
(This post was last modified: 04-19-2012 12:46 AM by mrscoomich.)
04-19-2012 12:03 AM
Find all posts by this user Quote this message in a reply
jamessnk1 Offline
Junior Member

Posts: 37
Joined: Mar 2012
Reputation: 2
Post: #2
RE: Messages don't show up :(
(04-19-2012 12:03 AM)mrscoomich Wrote:  When I test it through the custom story list,
I have added this:

void OnStart()
{
AddTimer("", 1, "Msg");
}


void Msg(string &in asTimer)
{
StartEffectEmotionFlash("Fade", "First", "");
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}

**********

The bold letters above are the trouble I have. After the timer occurs, the screen does the white flash but the message does not show up.

Here is the .lang script:


<CATEGORY Name="Fade">
<Entry Name="First">"There is only one happiness in this life, to love and be loved.[br][br] But I lived in the darkness."</Entry>
</CATEGORY>

How do you make it show up on the screen ?
There could be an error somewhere else on your .lang cause if theres one error the whole thing stops working

04-19-2012 12:24 AM
Find all posts by this user Quote this message in a reply
mrscoomich Offline
Member

Posts: 55
Joined: Mar 2012
Reputation: 0
Post: #3
RE: Messages don't show up :(
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">"..."</Entry>
</CATEGORY>

<CATEGORY Name="Fade">
<Entry Name="First">"There is only one happiness in this life, to love and be loved.[br][br] But I lived in the darkness."</Entry>
<Entry Name="Second">"500 years ago, I was tortured and killed in that very dungeon. [br] The murderer had regret it." </Entry>
<Entry Name="Third">I am not a man, nor am I a lady.[br][br] I am a child.[br][br][br]My name is..."</Entry>
<Entry Name="Last">"...Angella Stilson."</Entry>
</CATEGORY>



</LANGUAGE>

***********

here is the whole .lang script
04-19-2012 12:31 AM
Find all posts by this user Quote this message in a reply
jamessnk1 Offline
Junior Member

Posts: 37
Joined: Mar 2012
Reputation: 2
Post: #4
RE: Messages don't show up :(
(04-19-2012 12:31 AM)mrscoomich Wrote:  here is the whole .lang script
Try taking out the quotation marks that are between all the <Entry> </Entry> parts. That might be it, because quotations are unnecessary in text between entry markers.

04-19-2012 12:40 AM
Find all posts by this user Quote this message in a reply
mrscoomich Offline
Member

Posts: 55
Joined: Mar 2012
Reputation: 0
Post: #5
RE: Messages don't show up :(
ah! It works Big Grin Thank you so much!
04-19-2012 12:45 AM
Find all posts by this user Quote this message in a reply
jamessnk1 Offline
Junior Member

Posts: 37
Joined: Mar 2012
Reputation: 2
Post: #6
RE: Messages don't show up :(
(04-19-2012 12:45 AM)mrscoomich Wrote:  ah! It works Big Grin Thank you so much!
No problem Big Grin If you have a steam account you can add me and ill do my best to help you whenever Smile

04-19-2012 12:48 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)