setTIParameter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Fix example)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.12
|version1= 2.10


|branch= dev
|gr1= Environment
 
|arg= local or global
 
|eff= local or global
 
|serverExec= server or empty
 
|gr1= Command Group


|descr= Sets the provided Thermal Imaging parameter's value.
|descr= Sets the provided Thermal Imaging parameter's value.
Line 25: Line 17:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>setTIParameters</sqf>
|x1= <sqf>
setTIParameter ["OutputRangeStart", 0];
setTIParameter ["OutputRangeWidth", 1];
</sqf>


|seealso= [[getTIParameters]] [[setCamUseTI]] [[disableTIEquipment]]
|seealso= [[getTIParameters]] [[setCamUseTI]] [[disableTIEquipment]]
}}
}}

Latest revision as of 12:36, 30 August 2022

Hover & click on the images for description

Description

Description:
Sets the provided Thermal Imaging parameter's value.
The settings are not saved in savegame and must be reapplied after loading.
Groups:
Environment

Syntax

Syntax:
setTIParameter [paramName, newValue]
Parameters:
paramName: String - the parameter name. See getTIParameters for a list of possible values
newValue: Number - the set number
Return Value:
Nothing

Examples

Example 1:
setTIParameter ["OutputRangeStart", 0]; setTIParameter ["OutputRangeWidth", 1];

Additional Information

See also:
getTIParameters setCamUseTI disableTIEquipment

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note