Anyone knows how to do this? - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Anyone knows how to do this? (/thread-12836.html) |
Anyone knows how to do this? - oscar1007 - 01-24-2012 I'm making a custom story and i wonder how you do this: 1. go to spot. Nothing happen. 2. Do something. 3. Go to spot. Teleport from level. Anyone know how i can do this? Thanks for the help! RE: Anyone knows how to do this? - Tripication - 01-24-2012 Can we get more detail on the situation, when you do this thing, is it where this spot is, or somewhere else and what is the thing you do?? RE: Anyone knows how to do this? - Obliviator27 - 01-24-2012 It's quite easy. After you do something, either 1) Set the area to Active with SetEntityActive or 2)Set up the AddEntityCollideCallback after you do the something. RE: Anyone knows how to do this? - Tripication - 01-24-2012 Ok, first thing first. Where is this spot. 2ndly, what are you planning to do at this spot. 3rdly, What do you mean telepot from amp? Into another map or onto a different position on the same map? RE: Anyone knows how to do this? - oscar1007 - 01-24-2012 Does the area activate when i use setentityactive? The area is a "altar" like thing. If you havn't done anything, nothing will happen when you stand there. But if you collide a object with an entity on the map, when you enter the area, you will be teleported to another map. So, does the setentity work for areas? RE: Anyone knows how to do this? - Your Computer - 01-24-2012 (01-24-2012, 05:45 PM)oscar1007 Wrote: So, does the SetEntity[Active] work for areas? Yes, it does. RE: Anyone knows how to do this? - oscar1007 - 01-24-2012 Thank you! |