Difference between revisions of "Category:Math Functions"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(categorizing and fixing a link)
imported>DragoonWraith
(headers)
Line 6: Line 6:
  set z to ( x + y )
  set z to ( x + y )
  Function z
  Function z
====With OBSE====


In the case of [[Oblivion Script Extender|OBSE]] functions, these functions may be used normally, including as a part of an experssion, like so:
In the case of [[Oblivion Script Extender|OBSE]] functions, these functions may be used normally, including as a part of an experssion, like so:
  set z to ( y + Function x )
  set z to ( y + Function x )


====Without OBSE====
In the case of the [[:Category: Stage Functions|Stage Functions]] that may be used without OBSE, these are more complicated workarounds developed before OBSE. Please read the Stage Function article for more information.
In the case of the [[:Category: Stage Functions|Stage Functions]] that may be used without OBSE, these are more complicated workarounds developed before OBSE. Please read the Stage Function article for more information.


Because of the different approaches to the same functions, rather than listing all of the functions in this category, please use the subcategories below to find the information that you are looking for.
Because of the different approaches to the same functions, rather than listing all of the functions in this category, please use the subcategories below to find the information that you are looking for.


[[Category: Function Types]]
[[Category: Function Types]]

Revision as of 13:40, 5 July 2007

These functions provide advanced mathematical operations for use with numbers within scripts. This is in addition to +, -, *, /, and %, which are described in the Set article.

Because these are functions and not operators, they cannot accept expressions as arguments. That is, you cannot use this:

Function ( x + y )

You must instead use a variable to store the value and pass the variable:

set z to ( x + y )
Function z

With OBSE

In the case of OBSE functions, these functions may be used normally, including as a part of an experssion, like so:

set z to ( y + Function x )

Without OBSE

In the case of the Stage Functions that may be used without OBSE, these are more complicated workarounds developed before OBSE. Please read the Stage Function article for more information.


Because of the different approaches to the same functions, rather than listing all of the functions in this category, please use the subcategories below to find the information that you are looking for.