abe.lloyd
Junior Member
Posts: 15
Threads: 2
Joined: Mar 2012
Reputation:
0
|
Help Please with Scripting
Hello , i have recently purchased Amnesia and love it. I want to make a map but i have tried numurous times and i cant get the following scripts to work
////////////////////////////
// Run when the map starts
void OnStart()
{
AddUseItemCallback("OpenLockedDoor", "key_1", "level_celler_1", "UnlockLevelDoor", true);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
void UnlockLevelDoor(string &in item,string &in entity)
{
SetLevelDoorLocked(Entity, false);
// RemoveItem(Item);
}
and
<LANGUAGE>
<CATEGORY Name="TutorialStory">
<Entry Name="Description">nothing yet</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_studyKey_1">key for unlocking celler</Entry>
<Entry Name="ItemName_studyKey_1">Celler key</Entry>
</CATEGORY>
</LANGUAGE>
I would like to have a basic tutorial that works for me or a skype helper. All the tutorials dont work for me and i have tried lots.
Thank you
abelloyd
|
|
03-31-2012, 12:00 PM |
|