Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 7,008 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Objects coming toward you? Or in a direction? #6675
08/15/01 14:37
08/15/01 14:37

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



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/01 20:29
08/15/01 20:29

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Alan:

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/01 07:13
08/21/01 07:13

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



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)


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1