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.15 (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 :(
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
:(

I have this

.hps

void OnStart()
{
SetPlayerLampOil(0);
SetPlayerHealth(5);
SetPlayerSanity(70);
SetPlayerRunSpeedMul(0);
wakeUp();
}

void wakeUp () {
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}

void beginStory(string &in asTimer){
ChangePlayerStateToNormal();
SetMessage("Ch01Level01", "WakeUpMessage", 5);
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(true);
FadeImageTrailTo(0,1);
}


and .lang


<CATEGORY Name="Ch01Level01">
<Entry Name="WakeUpMessage">Where am i ? What happened? I feel... nothing.</Entry>
</CATEGORY>


by the friend who help me but it's not working for some reason...
any ideas ?
It should when he stands to text comes.

05-03-2014, 08:51 AM
Find


Messages In This Thread
:( - by Straxedix - 05-03-2014, 08:51 AM
RE: :( - by Romulator - 05-03-2014, 09:05 AM
RE: :( - by DnALANGE - 05-03-2014, 11:09 AM
RE: :( - by OriginalUsername - 05-03-2014, 02:47 PM
RE: :( - by Mudbill - 05-03-2014, 03:29 PM
RE: :( - by FlawlessHappiness - 05-03-2014, 05:08 PM
RE: :( - by Straxedix - 05-03-2014, 06:47 PM
RE: :( - by DnALANGE - 05-03-2014, 06:58 PM
RE: :( - by Straxedix - 05-03-2014, 07:00 PM
RE: :( - by DnALANGE - 05-03-2014, 07:01 PM
RE: :( - by Straxedix - 05-03-2014, 07:03 PM
RE: :( - by DnALANGE - 05-03-2014, 07:04 PM
RE: :( - by Straxedix - 05-03-2014, 07:12 PM
RE: :( - by DnALANGE - 05-03-2014, 07:14 PM
RE: :( - by Straxedix - 05-03-2014, 07:14 PM
RE: :( - by DnALANGE - 05-03-2014, 07:16 PM
RE: :( - by Straxedix - 05-03-2014, 07:17 PM
RE: :( - by DnALANGE - 05-03-2014, 07:17 PM
RE: :( - by Straxedix - 05-03-2014, 07:21 PM
RE: :( - by DnALANGE - 05-03-2014, 07:22 PM
RE: :( - by Straxedix - 05-03-2014, 07:25 PM
RE: :( - by DnALANGE - 05-03-2014, 07:29 PM
RE: :( - by Straxedix - 05-03-2014, 07:32 PM
RE: :( - by DnALANGE - 05-03-2014, 07:35 PM
RE: :( - by Straxedix - 05-03-2014, 07:48 PM
RE: :( - by FlawlessHappiness - 05-03-2014, 10:59 PM



Users browsing this thread: 1 Guest(s)