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
First Map. Few Problems
PlayPrey Offline
Junior Member

Posts: 3
Threads: 1
Joined: Mar 2012
Reputation: 0
#1
First Map. Few Problems

hi there! Smile

im trying to make a amnesia custom story.
But my key dosen't unlock my specified door, ( the key's name and description works )
And my note is blank ( nothing there O.O )


Any solutions?


pp1.hps
PHP Code: (Select All)
///////////////
//
void OnStart()
{

AddUseItemCallback("UseKeyOnDoor""LOL""DoorLocked1""UseKeyOnDoor"true);
}

void UseKeyOnDoor(string &in asItemstring &in asEntity)
{
    
SetSwingDoorLocked("DoorLocked1"falsetrue);
    
PlaySoundAtEntity("unlocked""unlock_door"asEntity0.0ffalse);
    
RemoveItem("LOL");


extra english.lang
PHP Code: (Select All)
<LANGUAGE>
    <
RESOURCES>
    </
RESOURCES>
    <
CATEGORY Name"CustomStoryMain">
        <
Entry Name"Description">This is my very first custom story for amnesiai hope people enjoy, and no im not good at making these.. so thats why it probably isnt so good.. and if PewDiePie plays thisthat would mean alot to me, and im gonna try not to make it specific for you.. :)   BTW it might not be scary.. who knows.. :O</Entry>
    </
CATEGORY>
    <
CATEGORY Name"Journal">
        <
Entry Name="Note01_Name">Welcome to your end</Entry>
        <
Entry Name="Note01_Text">LOL</Entry>
    </
CATEGORY>
    <
CATEGORY Name="Inventory">
        <
Entry Name="ItemName_LOL">Old Key</Entry>
        <
Entry Name="ItemDesc_LOL">Is this the key to that door?</Entry>
    </
CATEGORY>
</
LANGUAGE

(This post was last modified: 03-11-2012, 07:20 PM by PlayPrey.)
03-11-2012, 06:15 PM
Find


Messages In This Thread
First Map. Few Problems - by PlayPrey - 03-11-2012, 06:15 PM
RE: First Map. Few Problems - by Mehis - 03-11-2012, 10:16 PM
RE: First Map. Few Problems - by GreyFox - 03-19-2012, 08:44 PM
RE: First Map. Few Problems - by PlayPrey - 03-19-2012, 09:50 PM



Users browsing this thread: 1 Guest(s)