Scripts / [SOLVED] SetAnimationSpeed(e,v) ?

Author
Message
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 5th Nov 2018 23:36 Edited at: 6th Nov 2018 07:56
Ok ihave a question.
if i have an model that has animation on it and in the properties page it says Amin Speed = 100
then why if i use SetAnimationSpeed(e,300) there is no difference in the speed it does noting
if i have a small script like this. :


why would it not run at 300 ? or do i need a more complex script to make it to run at 300.

i know i can change the speed in the properties , and maybe also in the fpe file, but i would like to control it with a script.

Any help would be appreciated.

Pcs.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 6th Nov 2018 19:37
This post has been marked by the post author as the answer.
300! Try 1.5, which would be 1.5X.

In the properties the values are *100 so that they are integers, so 100 is actually 1.0X, or 'normal speed' iow.
Been there, done that, got all the T-Shirts!
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Nov 2018 20:57 Edited at: 6th Nov 2018 21:23
Ok i will try it

edited : Thank you AmenMoses its working 100%

Also i think there was a glitch or something with GG, because now i can put in any number in my script and it does work.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Login to post a reply

Server time is: 2024-04-24 11:24:32
Your offset time is: 2024-04-24 11:24:32