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
[SOLVED]Memento dont work
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#10
RE: Memento dont work

Meanwhile i got ur attention. how to u make a key unlock a leveldoor that is in another level/map
[/quote]

It doesn't matter which map it is to unlock a level door, if you get a key from one level and go to another level it will still be the same.

But yeah this is the code to make a key unlock any level door.

AddUseItemCallback("", "NAME OF YOUR KEY", "NAME OF THE LEVEL DOOR YOU WANNA UNLOCK", "LevelDoorunlocked", True);

void LevelDoorUnlocked(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("NAME OF YOUR LEVEL DOOR YOU WANNA UNLOCK", false);
PlaySoundAtEntity("", "unlock_door.ogg", asEntity, 0, false);
RemoveItem(asItem);
    }

Hope that helps. Wink

(This post was last modified: 05-25-2014, 03:01 PM by Radical Batz.)
05-25-2014, 02:58 PM
Find


Messages In This Thread
[SOLVED]Memento dont work - by Rowzter - 05-25-2014, 01:57 PM
RE: Memento dont work - by Radical Batz - 05-25-2014, 02:04 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 02:09 PM
RE: Memento dont work - by Radical Batz - 05-25-2014, 02:09 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 02:14 PM
RE: Memento dont work - by Radical Batz - 05-25-2014, 02:22 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 02:48 PM
RE: Memento dont work - by Radical Batz - 05-25-2014, 02:58 PM
RE: Memento dont work - by Romulator - 05-25-2014, 02:57 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 02:59 PM
RE: Memento dont work - by Mudbill - 05-25-2014, 02:51 PM
RE: Memento dont work - by Romulator - 05-25-2014, 03:01 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 03:08 PM
RE: Memento dont work - by Romulator - 05-25-2014, 03:17 PM
RE: Memento dont work - by Rowzter - 05-25-2014, 04:03 PM



Users browsing this thread: 1 Guest(s)