GetOBSEVersion

Revision as of 05:00, 15 September 2007 by imported>WereWolf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(obseVersion:long) GetOBSEVersion

Returns the version number of the installed version of OBSE. Can be used to ensure compatibility.

ExampleEdit

if ( GetOBSEVersion < 5 )
  MessageBox "Requires Oblivion Script Extender v0005 or higher."
  return
endif

NotesEdit

  • Always use "less than" for determining if the version of OBSE is too old - using "not equal to" locks you in to the current version of OBSE.