isInRemainsCollector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
m (Text replacement - "\|" to "|")
Line 15: Line 15:
|p1= remain: [[Object]] - vehicle or unit
|p1= remain: [[Object]] - vehicle or unit


\|r1= [[Boolean]]
|r1= [[Boolean]]


\|x1= <code>[[if]] ([[isInRemainsCollector]] unit1) [[then]] {[[hint]] "unit1 is queued for disposal"};</code>
|x1= <code>[[if]] ([[isInRemainsCollector]] unit1) [[then]] {[[hint]] "unit1 is queued for disposal"};</code>


|seealso= [[addToRemainsCollector]], [[removeFromRemainsCollector]]
|seealso= [[addToRemainsCollector]], [[removeFromRemainsCollector]]
}}
}}

Revision as of 11:32, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
remain: Object - vehicle or unit
Return Value:
Boolean

Examples

Example 1:
if (isInRemainsCollector unit1) then {hint "unit1 is queued for disposal"};

Additional Information

See also:
addToRemainsCollectorremoveFromRemainsCollector

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