Difference between revisions of "Set"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
m
imported>JOG
m
Line 7: Line 7:
   
   
  set stage to getstage quest1 + 10
  set stage to getstage quest1 + 10
[[Category:Commands]]

Revision as of 16:34, 16 April 2006

Sets a local or global variable to a specified value. This value can be a number or an expression.

set a to 2
set b to a*a
set c to (b-a)*b-a
set d to (3*-b+a)-c)/-2

set stage to getstage quest1 + 10