[SCRIPT] Spawn "Entity" when entering a Scrip Area, is it possible? - 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: [SCRIPT] Spawn "Entity" when entering a Scrip Area, is it possible? (/thread-16806.html) |
Spawn "Entity" when entering a Scrip Area, is it possible? - Stenkilde - 07-07-2012 As the Subject says. Is it possible? I followed all of " ThisIsYourComputer"s videos. I'm a retard with C++ still, and getting a hang of it, but i really can't figure out if this can happen, and how to do it? I don't want someone to walk me hand in hand to it. But just info on how it can be done. Thanks everyone, i'm making a custom story, and i want it really good! Thank you again! RE: Spawn "Entity" when entering a Scrip Area, is it possible? - SilentStriker - 07-07-2012 You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea) RE: Spawn "Entity" when entering a Scrip Area, is it possible? - Stenkilde - 07-07-2012 (07-07-2012, 02:16 PM)SilentStriker Wrote: You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea)Thank you! You saved my day, and i will give you some credit in my CS! RE: Spawn "Entity" when entering a Scrip Area, is it possible? - SilentStriker - 07-07-2012 (07-07-2012, 02:37 PM)Stenkilde Wrote:You are welcome(07-07-2012, 02:16 PM)SilentStriker Wrote: You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea)Thank you! No need to give me credit for that, I was just helping Also welcome to the forum! RE: Spawn "Entity" when entering a Scrip Area, is it possible? - Stenkilde - 07-07-2012 (07-07-2012, 02:43 PM)SilentStriker Wrote: You are welcomeI think everyone who helps me deserve some sort of "credit". Thanks for the welcome, warms my heart! RE: Spawn "Entity" when entering a Scrip Area, is it possible? - MaZiCUT - 07-07-2012 Your heart will go cold any moment soon. > RE: Spawn "Entity" when entering a Scrip Area, is it possible? - ApeCake - 07-07-2012 (07-07-2012, 01:32 PM)Stenkilde Wrote: Thanks everyone, i'm making a custom story, and i want it really good! (07-07-2012, 01:32 PM)Stenkilde Wrote: and i want it really good! (07-07-2012, 01:32 PM)Stenkilde Wrote: i want it really good!Save this forum from all the badly created troll maps! Seriously, there need to be more people that want there maps to be good, most of them lack detail or have a ton of overlapping textures. I am excited for your map already About the code part; I assume you already know this, but check out http://wiki.frictionalgames.com/hpl2/amnesia/script_functions if you didn't. Amazing stuff. |