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
.Lang File Help I can't randomize my loading screen entries..
z3akx Offline
Junior Member

Posts: 15
Threads: 4
Joined: Dec 2011
Reputation: 0
#1
I can't randomize my loading screen entries..

Hi. well here is my problem, i've made a loading screen and i added a picture and some text

but I cant get it to ramdomize between several texts so it will allways show only 1 text

here is the scripting..


The .hps file
void OnStart()
{
SetEntityPlayerInteractCallback("WindowForest", "Level_WindowForest", false);
SetEntityPlayerLookAtCallback("WindowForest", "ForestText", false);
}

void Level_WindowForest(string &in asEntity)

{
ChangeMap("Forest", "PlayerStartArea_3", "", "");
SetupLoadScreen("LoadingText", "Forest_", 2, "Dark_Forest2.jpg");
}

The .lang file


The Forest is dark and cold
Underneath the shadows in the withered forest secrets are buried


In the loading screen the only text that appears is the Forest_01

Please help Big Grin
04-29-2012, 02:54 PM
Find


Messages In This Thread
I can't randomize my loading screen entries.. - by z3akx - 04-29-2012, 02:54 PM



Users browsing this thread: 1 Guest(s)