lightDetachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Lights |GROUP1= ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma |Game name=
|game1= ofpe
|version1= 1.00


|1.00|Game version=
|game2= arma1
|version2= 1.00


|gr1 = Lights |GROUP1=
|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


____________________________________________________________________________________________
|game5= tkoh
|version5= 1.00


| Detach light from object. |DESCRIPTION=
|game6= arma3
____________________________________________________________________________________________
|version6= 0.50


| [[lightDetachObject]] light |SYNTAX=
|gr1= Lights


|p1= light: [[Object]] |PARAMETER1=
|descr= Detach light from object.


| [[Nothing]] |RETURNVALUE=
|s1= [[lightDetachObject]] light
____________________________________________________________________________________________


|x1=<code>[[lightDetachObject]] _light</code> |EXAMPLE1=
|p1= light: [[Object]]


| [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[setLightColor]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]] |SEEALSO=
|r1= [[Nothing]]


|x1= <sqf>lightDetachObject _light;</sqf>
|seealso= [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[setLightColor]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightUseFlare]] [[setLightFlareSize]] [[setLightFlareMaxDistance]] [[setLightDayLight]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Lights]]

Latest revision as of 14:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Detach light from object.
Groups:
Lights

Syntax

Syntax:
lightDetachObject light
Parameters:
light: Object
Return Value:
Nothing

Examples

Example 1:
lightDetachObject _light;

Additional Information

See also:
setLightAmbient setLightBrightness lightAttachObject setLightColor setLightIntensity setLightAttenuation setLightUseFlare setLightFlareSize setLightFlareMaxDistance setLightDayLight

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