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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help Using Keys on locked Level doors
HoldMyUnicornGames Offline
Junior Member

Posts: 5
Threads: 1
Joined: Jul 2012
Reputation: 0
#1
Using Keys on locked Level doors

( I'm really sorry if there was a site i did not see that told me how to do so, i am making a custom story for my friend to play since it is my first.)

I am trying to have my player unlock a level door and then go through to the next map. But i keep getting an error. I looked on the wiki and it said to show a level door locked that it wasn't a swing door so i changed it to look like this.

void UsedKeyOnleveldoor(string& asItem, string& asEntity)
{
SetLevelDoorLocked("level_cistern_1", false, true);
PlaySoundAtEntity("", "unlock_door", "level_cistern_1", 0, false);
RemoveItem("MysteriousRoomKey");
}

I'm not totally sure what i did wrong... Another thing, is it possible to have the penumbra overture spiders to work on your map? For some reason mine are always glitched. They show the spider on the ground but it doesn't move yet there is an imaginary spider jumping and hitting the player...

(Again i am making this just for a friend since it is my first. I am very sorry if i didn't look properly. Seems to be a real annoying problem in this forum...)
07-06-2012, 12:16 AM
Find


Messages In This Thread
Using Keys on locked Level doors - by HoldMyUnicornGames - 07-06-2012, 12:16 AM
RE: Using Keys on locked Level doors - by Cruzore - 07-06-2012, 12:20 AM
RE: Using Keys on locked Level doors - by Adny - 07-06-2012, 12:20 AM
RE: Using Keys on locked Level doors - by Cruzore - 07-06-2012, 12:36 AM
RE: Using Keys on locked Level doors - by Adny - 07-06-2012, 12:41 AM
RE: Using Keys on locked Level doors - by Adny - 07-06-2012, 01:40 AM
RE: Using Keys on locked Level doors - by Adny - 07-06-2012, 01:49 AM



Users browsing this thread: 7 Guest(s)