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



Scripting ? - lightsheik - 02-26-2011

How can I make an object move into the good position when I drag it at the script area. Like the cog wheel in the ''machine'' map ?


RE: Scripting ? - Tanshaydar - 02-26-2011

Tried to look at machine map scripting?


RE: Scripting ? - lightsheik - 02-26-2011

I looked but I didnt really found what I'm looking for. Maybe its something with the ''sticky'' area but I'm not sure.


RE: Scripting ? - Ongka - 02-26-2011

Yep, you do it with a "sticky" area.
You can set which object should be sticky, and what should happen then.
The center of the object will stick at the center of the sticky area.