| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| a little help with frame variable; 'animation end' | |
|---|---|
| Tweet Topic Started: Nov 12 2007, 06:21 AM (216 Views) | |
| apathyjoe | Nov 12 2007, 06:21 AM Post #1 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
i wanted a sort of crouching before jumping - so when the key is pressed, my model jumps to: first_frame=50 last_frame=60 frame=-1 and then when it REACHES that last frame, it chances to frame=65 which is the single jump pose. i do this in 2d gamemaker with animation end...when the animation end is over, it proceeds with the jump action...how can i do something similar using a model like this? when it reaches frame 60, the first_frame, last_frame and frame variables change? ***(I tried if frame=last_frame, but i never thought that would work anyway) thanks! |
![]() |
|
| MysteriXYZ | Nov 12 2007, 12:24 PM Post #2 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use GetCurrentFrame() instead of frame. |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



9:12 PM Jul 11