12-04-2011, 08:59 PM
Hi.
I have a big problem which I can not find a solution ... So here is the script :
The Door : http://img15.hostingpics.net/pics/468589242.png
What wrong ???? I really look everywhere...
Help needed
I have a big problem which I can not find a solution ... So here is the script :
Quote:void UnlockNextLevel(string &in asItem, string &in asEntity)The Key : http://img15.hostingpics.net/pics/131812481.png
{
SetSwingDoorLocked("NextLevel", false, true);
PlaySoundAtEntity("", "unlock_door", "NextLevel", 0, false);
RemoveItem("SecondLevel");
}
void OnStart()
{
AddUseItemCallback("", "SecondLevel", "NextLevel", "UnlockNextLevel", true);
}
The Door : http://img15.hostingpics.net/pics/468589242.png
What wrong ???? I really look everywhere...
Help needed