Integer

From Bohemia Interactive Community
Jump to navigation Jump to search

Note: The following text does not apply to scripting, only to configs. There is no Integer type in scripting, only Number.

Boolean is a strictly checked type in OFP scripting language.


Integer


Addons only

An integer in OFP is a (potentially) signed value between -65,000 and +65,435 and applies to assigned values in config.cpp (addons).


Example:

SnowFlakes = 143;
Credit = -167;