Jump to content

Scripting Math Functions


Myydraal

Recommended Posts

I was just curisoe if anyone knows exactly what all math functions are availible in the scripiting language. More specificly if they ahve a sine or cosine functions. If anyone knows that would be great. If they don't....well i just may have to do some calc :/
Link to comment
Share on other sites

I was just curisoe if anyone knows exactly what all math functions are availible in the scripiting language. More specificly if they ahve a sine or cosine functions. If anyone knows that would be great. If they don't....well i just may have to do some calc :/

Nope. No trig, no exponents, no square root. Looks like +, -, *, and / are all we get.

Link to comment
Share on other sites

Nope. No trig, no exponents, no square root. Looks like +, -, *, and / are all we get.

 

God danm. And there is no way to create functions is there, just scripts? So i can;t create my own functions once and use them over and over? So i gotta do all the long hard calc math everytime i wanna do something that should be relativly simple like make a object go in a circle? )=

Link to comment
Share on other sites

God danm. And there is no way to create functions is there, just scripts? So i can;t create my own functions once and use them over and over? So i gotta do all the long hard calc math everytime i wanna do something that should be relativly simple like make a object go in a circle? )=

Yup, more or less... But you might be able to trick a Global Script into working like a function. Depends how you do it. Though without StartScript, that'll be harder to do...

 

Oh, and chalk up another function lost in the conversion from Morrowind to Oblivion - there used to be a Move (and MoveWorld) function, which could be used in conjunction with Rotate to cause an object to move in a circle very easily. But that's gone.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...