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
How to enter level hub door when you unlock it? (SOLVED) Delete thread if you want!
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#1
How to enter level hub door when you unlock it? (SOLVED) Delete thread if you want!

Yep i have problem I have level door and its locked and it only unlocks when you use key! Well... i can hear the door sound when its locked then when i use key to hear unlock sound but problem is "Why i cant enter level door then?"

Door script:

AddUseItemCallback("", "Prison Entrance Key", "level_celler_1", "KeyOnDoor3", true);

void KeyOnDoor3(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("level_celler_1", false, true);
RemoveItem("Prison Entrance Key");
PlaySoundAtEntity("", "unlock_door.snt", "level_celler_1", 0.0f, true);
}

“Life is a game, play it”
(This post was last modified: 12-26-2010, 09:57 PM by HumiliatioN.)
12-26-2010, 05:54 PM
Find


Messages In This Thread
How to enter level hub door when you unlock it? (SOLVED) Delete thread if you want! - by HumiliatioN - 12-26-2010, 05:54 PM



Users browsing this thread: 1 Guest(s)