Frictional Games Forum (read-only)
Entity wont work setEntityActive() - 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: Entity wont work setEntityActive() (/thread-10020.html)



Entity wont work setEntityActive() - sgthale - 08-28-2011

So Im trying to change a static_prop dungeon style wall to entity so I can make it visible and invisible on command. I used the Model Editor as follows and it still wont work. Help


[attachment=1916]

Its just a wall so I just want it to collide and not move with everything


RE: Entity wont work setEntityActive() - MegaScience - 08-28-2011

I believe if you want to do this, you'll need to make the wall an entity. That is a Static Prop, and wouldn't work with the command. That involves opening it in the Model Editor... I'm sure another user can help you with that. I'm only good with scripting.


RE: Entity wont work setEntityActive() - Juby - 08-28-2011

Since I'm not a very good teacher, I made the entity for you and I know it works for the SetEntityActive() command.

http://www.mediafire.com/?uc1p627cp76cfs6



RE: Entity wont work setEntityActive() - sgthale - 08-28-2011

(08-28-2011, 02:32 PM)Juby Wrote: Since I'm not a very good teacher, I made the entity for you and I know it works for the SetEntityActive() command.

http://www.mediafire.com/?uc1p627cp76cfs6

oh great but how did you do it? What was the user defined variable type?



RE: Entity wont work setEntityActive() - Elven - 08-28-2011

(08-28-2011, 02:32 PM)Juby Wrote: Since I'm not a very good teacher, I made the entity for you and I know it works for the SetEntityActive() command.

http://www.mediafire.com/?uc1p627cp76cfs6

Another great thing to make tutorial in my channel Smile