Difference between revisions of "GetOBSEVersion"
Jump to navigation
Jump to search
imported>DragoonWraith (OBSE) |
imported>DragoonWraith m (→Example) |
||
Line 10: | Line 10: | ||
if ( GetOBSEVersion < 5 ) | if ( GetOBSEVersion < 5 ) | ||
MessageBox "Requires Oblivion Script Extender v0005 or higher." | MessageBox "Requires Oblivion Script Extender v0005 or higher." | ||
return | |||
endif | endif | ||
Revision as of 10:40, 19 August 2006
A command for Oblivion Script Extender
Syntax:
GetOBSEVersion
Returns the version number of the installed version of OBSE. Can be used to ensure compatibility.
Example
if ( GetOBSEVersion < 5 ) MessageBox "Requires Oblivion Script Extender v0005 or higher." return endif
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.