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
#7
RE: Using Keys on locked Level doors

(07-06-2012, 12:41 AM)andyrockin123 Wrote: And that error occurs when you try to use the level door, right? If so, tell me all of the information you have on the level door (entity tab when you select it); all it needs to function is the name of the next map and and the player start area. Make 100% sure the next map is in the same folder, and that everything's named the same thing in the level door's settings, and in the next level.

If all of those things are correct, it should work properly.

(Edit)
You truly are the FastHunteR when it comes to scripting errors ^.^
Entity Tab for the level door:


StartPos: PlayerStartarea_1
MapFile: 00_water.map
LockSound: door_prison_locked
I don't have anything in the next level's hps.... it's just a default level script... Do i need something posted there too?

(07-06-2012, 12:36 AM)FastHunteR Wrote: When you select the level door, you will see under Entity that you have to specify the StartPos of the next map and the map file of the next map. Make sure to browse the map file, so you make no mistake in writing it.
EDIT: Might want to paste the updated script file again.

void UsedKeyOnleveldoor(string& asItem, string& asEntity)
{
SetLevelDoorLocked("level_cistern_1", false);
PlaySoundAtEntity("", "unlock_door", "level_cistern_1", 0, false);
RemoveItem("MysteriousRoomKey");
}
I updated it so it looks like this... the error code is saying something about the next level map that it could not find the cistern level door... the other map has just a default level script nothing written in it.
(This post was last modified: 07-06-2012, 01:33 AM by HoldMyUnicornGames.)
07-06-2012, 01:32 AM
Find


Messages In This Thread
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 HoldMyUnicornGames - 07-06-2012, 01:32 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: 2 Guest(s)