![]() |
Elevator help - 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: Elevator help (/thread-15725.html) |
Elevator help - stevenbocco - 05-30-2012 hi guys! so i have just ran into another problem with my cs, it's the elevator i do not get it. how i should script it and what i should use for sort of items in the level edit. i've checked the tutorial on the script site but i don't get the tutorial there. please someone make this clear for me, then i would be more than greatful! RE: Elevator help - Adny - 05-30-2012 You have to use the elevator wall located in the entities tab, and then move it (up or down) using the following script: SetMoveObjectStateExt(string& asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed); This will move the wall, but the actual elevator stays stationary; it gives the illusion of the elevator moving. (P.S. the actual elevator is located under static objects>machine) RE: Elevator help - stevenbocco - 05-30-2012 (05-30-2012, 09:18 PM)andyrockin123 Wrote: thank you so much |