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
Amnesia custom story scripting help
Electrofuze Offline
Junior Member

Posts: 13
Threads: 3
Joined: Sep 2011
Reputation: 0
#1
Amnesia custom story scripting help

Hi guys for some reason my custom story map i am testing out doesnt seem to work i followed 3 youtube guiders to script it so i can run it on game but non of them work. Now i am geting pretty much fustrated. This is what i did for my Hps file
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "Small Storage room key", "Small storage room", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Small storage room", false, true);
PlaySoundAtEntity("", "unlock_door", "Small storage room", 0, false);
RemoveItem("Small storage room key")
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}


and for my custom_story_settings_ cfg i did
<Main

Imgfile = "Amnesia-Shambles"
Name = "LivingNightmare"
Auther = "Electrofuze"

Mapsfolder = "Maps/Ch01/"
Startmap = "00_TheHowling.map
Startpos = "PlayerStartArea_2"
/>
oh and for the locations where i place the files can you also add that xD please and thank you Tongue
(This post was last modified: 10-01-2011, 04:14 AM by Electrofuze.)
10-01-2011, 04:01 AM
Find


Messages In This Thread
Amnesia custom story scripting help - by Electrofuze - 10-01-2011, 04:01 AM



Users browsing this thread: 1 Guest(s)