• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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
  Reply
#2
IW fails
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#3
(03-31-2012, 20:25)JayDi Wrote: IW fails

IW is cool.
  Reply
#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
  Reply
#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
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)