Moving Object


([rD]MrPink) #1

In my map, I want to have an object stay in one spot, move to another when you hit a switch, and move back to its orignal when you hit it again. Whats the best way to do this?


(Lockeownzj00) #2

Well, you could do this with func_plat I believe, if you want an elevator sort of thing. Or, what I did is use func_door, then just set the angle, or up or down for it, and then make a fast “wait” speed. Or slow, whatever you want.

I assume you know how to make a button?


([rD]MrPink) #3

Yes, I know how to make a button. Specifically, the object is supposed to start a long distance in front of the player, and then move closer when pushed, then back to it’s original position when pushed again.


(Lockeownzj00) #4

Oh, hmm. Well. I think maybe if you set it to “never return,” but then still have the button linked it will do that.

The way I told you will have it come and return after a certain amount of time.


([rD]MrPink) #5

Well, is it possible to make a func_plat go on a x or y axis?


(Thej) #6

use script_movers for platforms u wanna comtrol with a button


([rD]MrPink) #7

You’re probably right on that. Thanks for the suggestions/help guys.