How exactly would you make an object come toward you, or just out in one direction? I am trying to make a map entity that, when you press space bar, the drawer comes out (this object is a cabinet). How exactly would I go about doing this?
And how would you stop it from moving too far?
Re: Objects coming toward you? Or in a direction?#6676 08/15/0120:2908/15/0120:29
Well you could do the drawer as an MDL. And when the space bar is pressed it morphs the drawer showing it open. Then you can control how far you wanted it to open in the actual animation.
The other is create it in wed, and assign a open_drawer command. And calculate how much distance you want it to go and once it goes above that distance you have it stop moving.
Re: Objects coming toward you? Or in a direction?#6677 08/21/0107:1308/21/0107:13
You may use the elevator-action (or a modified version of it), just use Skill1 and Skill2 of your drawer-entity for the x- and y-coordinates of your movement. (Copy and modify the action, the sound isn't a "drawer"-Sound.) There's a similar question at: Objekt bewegen!!! (another posting, different forum)