lightDetachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofpe
|game1= ofpe
| 1.00
|version1= 1.00


|game2= arma1
|game2= arma1
Line 23: Line 23:
|descr= Detach light from object.
|descr= Detach light from object.


|s1= [[lightDetachObject]] light
|s1= [[lightDetachObject]] light


|p1= light: [[Object]]
|p1= light: [[Object]]
Line 29: Line 29:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1=<code>[[lightDetachObject]] _light</code>
|x1= <sqf>lightDetachObject _light;</sqf>


|seealso= [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[setLightColor]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]]
|seealso= [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[setLightColor]] [[setLightIntensity]] [[setLightAttenuation]] [[setLightUseFlare]] [[setLightFlareSize]] [[setLightFlareMaxDistance]] [[setLightDayLight]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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