03-24-2012, 04:08 AM
Hi formun i need your's help but i have a problem!!!
this script no running in amnesia. is a custom history
i have a error in amnesia (loading page") and hps no running in map!!!!!
////////////////////////////
// Run when entering map
void OnEnter()
{
{ AddUseItemCallback("", "awesomekey_1", "mansion_1", "KeyOnDoor", true);
}
void MyFunc(string &in asItem, string &in asEntity)
{ SetSwingDoorLocked("mansion_1", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_1", 0, false);
RemoveItem("awesomekey_1");
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
this script no running in amnesia. is a custom history
i have a error in amnesia (loading page") and hps no running in map!!!!!
////////////////////////////
// Run when entering map
void OnEnter()
{
{ AddUseItemCallback("", "awesomekey_1", "mansion_1", "KeyOnDoor", true);
}
void MyFunc(string &in asItem, string &in asEntity)
{ SetSwingDoorLocked("mansion_1", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_1", 0, false);
RemoveItem("awesomekey_1");
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}