inflame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(41 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|= Game version
|game2= ofpe
|version2= 1.00


|arg= global |= Arguments in MP
|game3= arma1
|version3= 1.00


|eff= global |= Effects in MP
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| Control fireplace burning. Set inflame to [[true]] (on) or [[false]] (off). |= Description
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| fireplace '''inflame''' true |= Syntax
|game6= tkoh
|version6= 1.00


|p1= fireplace: [[Object]] |= Parameter 1
|game7= arma3
|version7= 0.50


|p2= burn: [[Boolean]] |= Parameter 2
|arg= global


| [[Nothing]] |= Return value
|eff= global
____________________________________________________________________________________________
 
|x1= <code>_fireplaceOne inflame [[true]]</code> |= Example 1
____________________________________________________________________________________________


| |= See also
|gr1= Object Manipulation


}}
|descr= Sets the state of a fireplace.
 
|s1= fireplace [[inflame]]  burn
 
|p1= fireplace: [[Object]]


<h3 style="display:none">Notes</h3>
|p2= burn: [[Boolean]] - [[true]] to let it burn, [[false]] to extinguish it.
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Nothing]]
</dl>


|x1= <sqf>_fireplaceOne inflame true;</sqf>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[inflamed]]
[[Category:Scripting Commands|INFLAME]]
}}
[[Category:Scripting Commands OFP 1.96|INFLAME]]
[[Category:Scripting Commands OFP 1.46|INFLAME]]
[[Category:Scripting Commands ArmA|INFLAME]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Sets the state of a fireplace.
Groups:
Object Manipulation

Syntax

Syntax:
fireplace inflame burn
Parameters:
fireplace: Object
burn: Boolean - true to let it burn, false to extinguish it.
Return Value:
Nothing

Examples

Example 1:
_fireplaceOne inflame true;

Additional Information

See also:
inflamed

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