HumiliatioN
Posting Freak
Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation:
18
|
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 |
|