The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 There are no texts!
Shylia Offline
Junior Member

Posts: 14
Threads: 3
Joined: Jan 2015
Reputation: 0
#1
Sad  There are no texts!

Why can't I see text and descriptions?

I've tried adding Text to objects and doors like, if you look at a door it can say "Locked" on the screen. But no matter what I do, not matter how correct it is, it will not work for me. I can't read notes, I can't see descriptions, I can't see text on doors.

my LANG file
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Welcome, fine Resident. We hope you enjoy your stay.</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="TheUnderbelly">To The Underbelly</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="ActOne">Act One: Stone Walls...</Entry>
</CATEGORY>

</LANGUAGE>


And my HPS file.
Spoiler below!
void OnStart()
{
AddEntityCollideCallback("Player", "Act1", "Welcome1", true, 1);
}

void OldMusicPlay1(string &in asEntity, int alState)
{
if(alState == 1)
{
PlaySoundAtEntity("Old_Music", "OldMusic1.snt", "OldMusic1", 0, false);
}
}

void Welcome1(string &in asParent, string &in asChild, int alState)
{
StopSound("Old_Music", 2.0);
PlaySoundAtEntity("", "ambience_haunting.snt", "Player", 2.0, false);
SetMessage("Messages", "ActOne", 5.0);
}

This thing is driving me nuts!
01-08-2015, 08:58 PM
Find


Messages In This Thread
There are no texts! - by Shylia - 01-08-2015, 08:58 PM
RE: There are no texts! - by Mudbill - 01-08-2015, 09:03 PM
RE: There are no texts! - by Shylia - 01-08-2015, 09:12 PM
RE: There are no texts! - by Lizard - 01-09-2015, 01:23 PM
RE: There are no texts! - by Shylia - 01-09-2015, 03:35 PM
RE: There are no texts! - by Mudbill - 01-09-2015, 03:56 PM
RE: There are no texts! - by Shylia - 01-09-2015, 04:13 PM
RE: There are no texts! - by Daemian - 01-09-2015, 04:59 PM
RE: There are no texts! - by Mudbill - 01-09-2015, 07:18 PM
RE: There are no texts! - by Shylia - 01-10-2015, 03:53 PM
RE: There are no texts! - by RunHideMoFo - 01-11-2015, 06:43 AM
RE: There are no texts! - by Romulator - 01-11-2015, 07:51 AM
RE: There are no texts! - by RunHideMoFo - 01-11-2015, 10:17 AM
RE: There are no texts! - by Romulator - 01-11-2015, 01:17 PM
RE: There are no texts! - by RunHideMoFo - 01-11-2015, 09:17 PM
RE: There are no texts! - by Romulator - 01-12-2015, 05:22 AM
RE: There are no texts! - by jmitchell - 02-22-2015, 09:04 PM
RE: There are no texts! - by Mudbill - 02-22-2015, 09:18 PM
RE: There are no texts! - by jmitchell - 02-22-2015, 09:31 PM
RE: There are no texts! - by jmitchell - 02-23-2015, 08:47 PM



Users browsing this thread: 1 Guest(s)