mrscoomich
Member
Posts: 55
Threads: 6
Joined: Mar 2012
Reputation:
0
|
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 |
|
jamessnk1
Junior Member
Posts: 37
Threads: 6
Joined: Mar 2012
Reputation:
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 |
|
mrscoomich
Member
Posts: 55
Threads: 6
Joined: Mar 2012
Reputation:
0
|
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 |
|
jamessnk1
Junior Member
Posts: 37
Threads: 6
Joined: Mar 2012
Reputation:
2
|
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 |
|
mrscoomich
Member
Posts: 55
Threads: 6
Joined: Mar 2012
Reputation:
0
|
RE: Messages don't show up :(
ah! It works Thank you so much!
|
|
04-19-2012, 12:45 AM |
|
jamessnk1
Junior Member
Posts: 37
Threads: 6
Joined: Mar 2012
Reputation:
2
|
RE: Messages don't show up :(
(04-19-2012, 12:45 AM)mrscoomich Wrote: ah! It works Thank you so much! No problem If you have a steam account you can add me and ill do my best to help you whenever
|
|
04-19-2012, 12:48 AM |
|
|