Leveldoor N00B - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Leveldoor N00B (/thread-7759.html) |
Leveldoor N00B - X4anco - 05-02-2011 Hello I am trying to use a door to load next map but I don't know a playercallback (or something ) I want the player to click on door and load next map plz could u help thx RE: Leveldoor N00B - Kyle - 05-02-2011 Code: void OnStart() That should work, ask me any questions if you need help. RE: Leveldoor N00B - X4anco - 05-02-2011 I cant pm you RE: Leveldoor N00B - Kyle - 05-02-2011 (05-02-2011, 11:48 AM)X4anco Wrote: I cant pm you Then just ask it on this thread... -_- RE: Leveldoor N00B - Roenlond - 05-02-2011 Even easier: 1. Select the level door in the level editor. 2. Click the entity tab. 3. Scroll down to MapFile and click the "..." button. 4. Locate the map you want to load and hit load file. 5. It might not be necessary as the game will probably load the first one anyhow, but type the playerstart area name of the next map in the "StartPos" field. 6. Click it in-game and it should work just fine without any scripting RE: Leveldoor N00B - X4anco - 05-02-2011 How would I get some txt to appear when a player looks at somthing? |