Frictional Games Forum (read-only)

Full Version: Elevator help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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)
(05-30-2012, 09:18 PM)andyrockin123 Wrote: [ -> ]thank you so much Smile!