stevenbocco
Junior Member
Posts: 28
Threads: 15
Joined: May 2012
Reputation:
0
|
Elevator help
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!
(This post was last modified: 06-01-2012, 02:38 PM by stevenbocco.)
|
|
05-30-2012, 08:40 PM |
|
Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: Elevator help
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)
I rate it 3 memes.
|
|
05-30-2012, 09:18 PM |
|
stevenbocco
Junior Member
Posts: 28
Threads: 15
Joined: May 2012
Reputation:
0
|
RE: Elevator help
(05-30-2012, 09:18 PM)andyrockin123 Wrote: thank you so much !
|
|
05-30-2012, 09:53 PM |
|