Frictional Games Forum (read-only)
ConnectEntities - 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: ConnectEntities (/thread-17779.html)



ConnectEntities - Solipsist - 08-15-2012

That's a part in the wiki that should be looked for, it has zero information regarding the matter of connections..

What I want to do is, to tie an entity to the player. Specifically an area_Script. I doubt anything like a Light would be able to follow the player, although I did saw some evidence of a dynamic light in action <_<

...Anyway, my attempts did not come to fruition. And all I wonder right now is; is this even possible?


RE: ConnectEntities - Adny - 08-15-2012

The ConnectEntities function is used to make two entities (usually gameplay types) function together, like a lever opening a door. Your request, I think is impossible; normally you could attach entities (or in your case, lights) to one another in the model editor, but the player isn't a model. The player is more of an invisible object that occupies the exact dimensions of a normal human; it is used so there will be realistic collision in the environment.

Hope that helped.


RE: ConnectEntities - Solipsist - 08-15-2012

So, can I use the Model Editor in order to create a new player-model which will have an Area_Script with the ability to set a lookAtCallback function as it is attached to the player's feet?