Tutorial getBuildNumber and getBuildVersion
#1
Hello

This is another tutorial of 2 commands I have just found, they are related with game engine (version).

They are: getBuildNumber() and getBuildVersion(). The first one gives the engine build number and the second one the version.

Example of usages:

Code:
self iPrintLnBold( getBuildNumber() + ":" + getBuildVersion() );

Code:
level.versionnumber = getBuildNumber(); level.version = getBuildVersion();

I hope someone finds a use for it, Tongue

#2
IW fails
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#3
(03-31-2012, 20:25)JayDi Wrote: IW fails

IW is cool.

#4
FFS,
Code:
if(level.version != "1.3.37a") { iprintlnBold("Y U NO ALTERIWNET"); }
also we can get it by dvar, "version"
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#5
(03-31-2012, 20:28)JayDi Wrote: FFS,
Code:
if(level.version != "1.3.37a") { iprintlnBold("Y U NO ALTERIWNET"); }
also we can get it by dvar, "version"

Using the code from the example I got 69:IW4 on aIW



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.