Code guidelines

From Suf

(Difference between revisions)

Revision as of 14:00, 3 August 2007

If you're not familar with scripting, read on..

Variable Types

Within the examples of the definitions on this wiki, you may see some strange words in brackets. These are types of variables.

  • Number variables
    • FLOAT (this is a number, it can be a whole number or a decimal)
    • INTEGER (this is a whole number)
  • Switches
    • BOOL / BOOLEAN (this is a switch, it can be either TRUE or FALSE, sometimes indicated by a 0 (false) or a 1 (true))
  • 3D
    • 3DMESHFILE (this is a 3d mesh file, such as 'example.mesh'. it must be replicated with the '.mesh' extention)
Personal tools