lightDetachObject: Difference between revisions

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


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


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


| Detach light from object. |= Description
|game3= arma2
____________________________________________________________________________________________
|version3= 1.00


| '''lightDetachObject''' light |= Syntax
|game4= arma2oa
|version4= 1.50


|p1= light: [[Object]] |= Parameter 1
|game5= tkoh
|version5= 1.00


| [[Nothing]] |= Return value
|game6= arma3
____________________________________________________________________________________________
|version6= 0.50


| |= See also
|gr1= Lights


}}
|descr= Detach light from object.
 
|s1= [[lightDetachObject]] light
 
|p1= light: [[Object]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>lightDetachObject _light;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[setLightColor]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightUseFlare]] [[setLightFlareSize]] [[setLightFlareMaxDistance]] [[setLightDayLight]]
[[Category:Scripting Commands|LIGHTDETACHOBJECT]]
}}
[[Category:Scripting Commands OFP Elite |LIGHTDETACHOBJECT]]
[[Category:Scripting Commands ArmA|LIGHTDETACHOBJECT]]

Latest revision as of 13: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