Juegos
Amnesia: The Dark Descent

Amnesia: The Dark Descent

Fecha de lanzamiento: 8 de septiembre de 2010
 · Plataforma
Foro del juego
 
22-06-2012 / 21:35 h
7
0
0
115
Nivel 5
Tengo un script para hacer que una llave abra una puerta en mi custom story,pero no funciona.Le he preguntado a vildejavi y parece ser que todo esta en orden,pero no funciona.Alguna sugerencia?
23-06-2012 / 00:47 h
7
0
0
115
Nivel 5
Este es el script:
void OnStart()
{AddUseItemCallback("", "Llave_1", "Puerta_Bloqueada_1", "UsedKeyOnDoor", true);}
void UsedKeyOnDoor(string &in asItem, string &in asEntity) 
{ 
SetSwingDoorLocked("Puerta_Bloqueada_1", false, true); 
PlaySoundAtEntity("", "unlock_door.snt", "Puerta_Bloqueada_1", 0, false); 
RemoveItem("Llave_1"); 
}  

void OnLeave()
{
}

 

void OnEnter()
{
}
Foros > Amnesia: The Dark Descent > Atascado con un scriptSubir
Amigos Online
No hay nadie conectado.