isLaserOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added enableIRLasers link in seeAlso)
m (added isIRLaserOn link in seeAlso)
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns true if the vehicle has its laser turned on. |= Description
| Returns true if the vehicle has its laser turned on. Not to be confused with [[isIRLaserOn]] which is for units |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 19:


|p1=vehicle: [[Object]]  |= Parameter 1
|p1=vehicle: [[Object]]  |= Parameter 1
|p2=  |= Parameter 2
|p3=  |= Parameter 3
|p4=  |= Parameter 4
|p5=  |= Parameter 5
|p6=  |= Parameter 6
|p7=  |= Parameter 7
|p8=  |= Parameter 8
|p9=  |= Parameter 9
|p10=  |= Parameter 10
|p11=  |= Parameter 11
|p12=  |= Parameter 12
|p13=  |= Parameter 13
|p14=  |= Parameter 14
|p15=  |= Parameter 15
|p16=  |= Parameter 16
|p17=  |= Parameter 17
|p18=  |= Parameter 18
|p19=  |= Parameter 19
|p20=  |= Parameter 20


| [[Boolean]]: True when laser is on, otherwise false |= Return Value
| [[Boolean]]: True when laser is on, otherwise false |= Return Value
<!-- START alternative syntax (optional) -->
|s2=  |= Alternative Syntax
|p21=  |= Alternative Parameter 1
|p22=  |= Alternative Parameter 2
|p23=  |= Alternative Parameter 3
|p24=  |= Alternative Parameter 4
|p25=  |= Alternative Parameter 5
|p26=  |= Alternative Parameter 6
|p27=  |= Alternative Parameter 7
|p28=  |= Alternative Parameter 8
|p29=  |= Alternative Parameter 9
|p30=  |= Alternative Parameter 10
|p31=  |= Alternative Parameter 11
|p32=  |= Alternative Parameter 12
|p33=  |= Alternative Parameter 13
|p34=  |= Alternative Parameter 14
|p35=  |= Alternative Parameter 15
|p36=  |= Alternative Parameter 16
|p37=  |= Alternative Parameter 17
|p38=  |= Alternative Parameter 18
|p39=  |= Alternative Parameter 19
|p40=  |= Alternative Parameter 20
|r2=  |= Alternative Return Value
<!-- END alternative syntax (optional) -->
<!-- START alternative syntax 2 (optional) -->
|s3=  |= Alternative Syntax 2
|p41=  |= Alternative 2 Parameter 1
|p42=  |= Alternative 2 Parameter 2
|p43=  |= Alternative 2 Parameter 3
|p44=  |= Alternative 2 Parameter 4
|p45=  |= Alternative 2 Parameter 5
|p46=  |= Alternative 2 Parameter 6
|p47=  |= Alternative 2 Parameter 7
|p48=  |= Alternative 2 Parameter 8
|p49=  |= Alternative 2 Parameter 9
|p50=  |= Alternative 2 Parameter 10
|p51=  |= Alternative 2 Parameter 11
|p52=  |= Alternative 2 Parameter 12
|p53=  |= Alternative 2 Parameter 13
|p54=  |= Alternative 2 Parameter 14
|p55=  |= Alternative 2 Parameter 15
|p56=  |= Alternative 2 Parameter 16
|p57=  |= Alternative 2 Parameter 17
|p58=  |= Alternative 2 Parameter 18
|p59=  |= Alternative 2 Parameter 19
|p60=  |= Alternative 2 Parameter 20
|r3=  |= Alternative 2 Return Value
<!-- END alternative syntax 2 (optional) -->
<!-- START alternative syntax 3 (optional) -->
|s4=  |= Alternative Syntax 3
|p61=  |= Alternative 3 Parameter 1
|p62=  |= Alternative 3 Parameter 2
|p63=  |= Alternative 3 Parameter 3
|p64=  |= Alternative 3 Parameter 4
|p65=  |= Alternative 3 Parameter 5
|p66=  |= Alternative 3 Parameter 6
|p67=  |= Alternative 3 Parameter 7
|p68=  |= Alternative 3 Parameter 8
|p69=  |= Alternative 3 Parameter 9
|p70=  |= Alternative 3 Parameter 10
|p71=  |= Alternative 3 Parameter 11
|p72=  |= Alternative 3 Parameter 12
|p73=  |= Alternative 3 Parameter 13
|p74=  |= Alternative 3 Parameter 14
|p75=  |= Alternative 3 Parameter 15
|p76=  |= Alternative 3 Parameter 16
|p77=  |= Alternative 3 Parameter 17
|p78=  |= Alternative 3 Parameter 18
|p79=  |= Alternative 3 Parameter 19
|p80=  |= Alternative 3 Parameter 20
|r4=  |= Alternative 3 Return Value
<!-- END alternative syntax 3 (optional) -->
<!-- START alternative syntax 4 (optional) -->
|s5=  |= Alternative Syntax 4
|p81=  |= Alternative 4 Parameter 1
|p82=  |= Alternative 4 Parameter 2
|p83=  |= Alternative 4 Parameter 3
|p84=  |= Alternative 4 Parameter 4
|p85=  |= Alternative 4 Parameter 5
|p86=  |= Alternative 4 Parameter 6
|p87=  |= Alternative 4 Parameter 7
|p88=  |= Alternative 4 Parameter 8
|p89=  |= Alternative 4 Parameter 9
|p90=  |= Alternative 4 Parameter 10
|p91=  |= Alternative 4 Parameter 11
|p92=  |= Alternative 4 Parameter 12
|p93=  |= Alternative 4 Parameter 13
|p94=  |= Alternative 4 Parameter 14
|p95=  |= Alternative 4 Parameter 15
|p96=  |= Alternative 4 Parameter 16
|p97=  |= Alternative 4 Parameter 17
|p98=  |= Alternative 4 Parameter 18
|p99=  |= Alternative 4 Parameter 19
|p100=  |= Alternative 4 Parameter 20
|r5=  |= Alternative 4 Return Value
<!-- END alternative syntax 4 (optional) -->
____________________________________________________________________________________________
|x1= <code> '''isLaserOn''' [[vehicle]] [[player]] </code>  |= Example 1
____________________________________________________________________________________________
|x2=  |= Example 2
____________________________________________________________________________________________
|x3=  |= Example 3
____________________________________________________________________________________________
|x4=  |= Example 4
____________________________________________________________________________________________
|x5=  |= Example 5
____________________________________________________________________________________________
|x6=  |= Example 6
____________________________________________________________________________________________
|x7=  |= Example 7
____________________________________________________________________________________________
|x8=  |= Example 8
____________________________________________________________________________________________
|x9=  |= Example 9
____________________________________________________________________________________________
|x10=  |= Example 10
____________________________________________________________________________________________


|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[enableIRLasers]] |= See Also
| [[enableIRLasers]] [[isIRLaserOn]] |= See Also


}}
}}

Revision as of 16:22, 20 January 2018

Hover & click on the images for description

Description

Description:
Returns true if the vehicle has its laser turned on. Not to be confused with isIRLaserOn which is for units
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
isLaserOn vehicle
Parameters:
vehicle: Object
Return Value:
Boolean: True when laser is on, otherwise false

Examples

Examples:
Example needed

Additional Information

See also:
enableIRLasers isIRLaserOn

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

Bottom Section