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
Problem With Unlock Level Door
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#1
Problem With Unlock Level Door

Hi.
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)
{
SetSwingDoorLocked("NextLevel", false, true);
PlaySoundAtEntity("", "unlock_door", "NextLevel", 0, false);
RemoveItem("SecondLevel");
}
void OnStart()
{
AddUseItemCallback("", "SecondLevel", "NextLevel", "UnlockNextLevel", true);
}
The Key : http://img15.hostingpics.net/pics/131812481.png
The Door : http://img15.hostingpics.net/pics/468589242.png
What wrong ???? I really look everywhere...

Help needed Sad

Sorry for my bad english
Amnesia The Revenge - Chapter 1
12-04-2011, 08:59 PM
Website Find


Messages In This Thread
Problem With Unlock Level Door - by narutohokager - 12-04-2011, 08:59 PM



Users browsing this thread: 1 Guest(s)