Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Elevator help
stevenbocco Offline
Junior Member

Posts: 28
Threads: 15
Joined: May 2012
Reputation: 0
#1
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
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
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
Find
stevenbocco Offline
Junior Member

Posts: 28
Threads: 15
Joined: May 2012
Reputation: 0
#3
RE: Elevator help

(05-30-2012, 09:18 PM)andyrockin123 Wrote: thank you so much Smile!
05-30-2012, 09:53 PM
Find




Users browsing this thread: 1 Guest(s)