Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Looking for a NEWXVALUE and NEWZVALUE command.

Author
Message
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 21st Jul 2011 23:00
Is there a command or series of commands that can do the same thing as NEWXVALUE OR NEWZVALUE?

Here is the definition of the command:



Here is an example:




Here is the Syntax:



Here are the parameters:




So, is there a .fpi command that will do this? Or can a series of commands do this?

Thanks, to anyone who can help.


Cheers.

God help me, Please.
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 22nd Jul 2011 13:51
There's nothing I can think of that does this - you may be able to create something similar with a combination of variable commands (addvar, divvar, mulvar, etc.)

Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 22nd Jul 2011 14:45
You could do it with movefore and runfore.

The way newxvalue and newzvalue work is they use sine and cosine of the objects Y angle and multiply it by a certain value(step).

All you need to do is rotate the object and then apply a movefore/run command.

Samotnijat vylk nasred gorata.
-3D,2D Artist,Animator,Web developer and Programmer.

Login to post a reply

Server time is: 2024-11-24 06:31:33
Your offset time is: 2024-11-24 06:31:33