Difference between revisions of "GetOBSEVersion"
Jump to navigation
Jump to search
imported>DragoonWraith m (→Example) |
imported>WereWolf |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
GetOBSEVersion | (obseVersion:long) GetOBSEVersion | ||
Returns the version number of the installed version of OBSE. Can be used to ensure compatibility. | Returns the version number of the installed version of OBSE. Can be used to ensure compatibility. | ||
==Example== | ==Example== | ||
if ( GetOBSEVersion < 5 ) | if ( GetOBSEVersion < 5 ) | ||
MessageBox "Requires Oblivion Script Extender v0005 or higher." | MessageBox "Requires Oblivion Script Extender v0005 or higher." | ||
Line 14: | Line 13: | ||
==Notes== | ==Notes== | ||
*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. | |||
<!--[[Category: OBSE Functions]] | |||
[[Category: OBSE Debug Functions]]--> | |||
[[Category: OBSE Functions]] | [[Category: Functions]] | ||
[[Category: | [[Category: Functions (OBSE)]] | ||
[[Category: Debug Functions]] | |||
[[Category: Debug Functions (OBSE)]] |
Latest revision as of 04:00, 15 September 2007
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.
Example[edit | edit source]
if ( GetOBSEVersion < 5 ) MessageBox "Requires Oblivion Script Extender v0005 or higher." return endif
Notes[edit | edit source]
- 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.