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
Intro Problem - 02-05-2017
Abihishi Offline
Junior Member

Posts: 44
Threads: 8
Joined: Feb 2016
Reputation: 0
#1
Intro Problem - 02-05-2017

Hi guys.
Today I decided make intro to my cs. I make 2 graphic .PNG, and custom in model editor. After this i add blackplane in my map and 2 intro point, and pictures. Like Mudbill in video yt:
https://www.youtube.com/watch?v=C5F5YzStg1o

But something gone wrong. When i open Amnesia and my cs i dont see anything, and after few seconds my character die. Idk what i do wrong, so please for help.


void OnStart()
{
FadeOut (0);
SetPlayerActive(false);
SetSanityDrainDisabled(true);
ShowPlayerCrossHairIcons(false);
AddTimer("fadein", 3, "TimerIntroOutro");

PlayMusic("in_motion.ogg", false, 1, 0, 1, true);

}

void TimerIntroOutro(string &in asTimer)
{
if(GetLocalVarInt("Intro") < 3) {
if (asTimer == "faidein") {
TeleportPlayer("intro_" + GetLocalVarInt("Intro"));
FadeIn(1);
AddTimer("fadeout", 4, "TimerIntroOutro");
}
if(asTimer == "fadeout") {
FadeOut(1);
AddTimer("faiden", 1, "TimerIntroOutro");
AddLocalVarInt("Intro", 1);
}
}
else
{
TeleportPlayer("PlayerStartArea_1");
FadeIn(2);
SetPlayerActive(true);
SetSanityDrainDisabled(false);
ShowPlayerCrossHairIcons(true);
PlayMusic("in_motion.ogg", false, 0.2, 1, 2, true);
}
}
(This post was last modified: 05-02-2017, 01:02 PM by Abihishi.)
05-02-2017, 01:00 PM
Find


Messages In This Thread
Intro Problem - 02-05-2017 - by Abihishi - 05-02-2017, 01:00 PM
RE: Intro Problem - 02-05-2017 - by Mudbill - 05-02-2017, 01:05 PM
RE: Intro Problem - 02-05-2017 - by Abihishi - 05-02-2017, 01:11 PM
RE: Intro Problem - 02-05-2017 - by Mudbill - 05-02-2017, 02:00 PM
RE: Intro Problem - 02-05-2017 - by Abihishi - 05-02-2017, 02:24 PM
RE: Intro Problem - 02-05-2017 - by Mudbill - 05-02-2017, 09:47 PM
RE: Intro Problem - 02-05-2017 - by Abihishi - 05-02-2017, 10:19 PM
RE: Intro Problem - 02-05-2017 - by Mudbill - 05-02-2017, 10:31 PM
RE: Intro Problem - 02-05-2017 - by Abihishi - 05-03-2017, 06:32 AM
RE: Intro Problem - 02-05-2017 - by hewiefreeman - 05-21-2017, 03:30 AM



Users browsing this thread: 6 Guest(s)