Frictional Games Forum (read-only)
[SCRIPT] Slide a note under the door? - 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] Slide a note under the door? (/thread-53933.html)



Slide a note under the door? - goodcap - 11-04-2017

How do I make a note slide from under the door like someone puts it under the door from the other side?


RE: Slide a note under the door? - Slanderous - 11-04-2017

(11-04-2017, 11:26 AM)goodcap Wrote: How do I make a note slide from under the door like someone puts it under the door from the other side?

Make a tiny gap between the door and the frame, place the note on the other side and deactivate it, then activate it and use
Code:
AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);
[/quote]