diag remainsCollector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add -1)
No edit summary
Line 12: Line 12:
|p1= option: [[Number]] - can be one of:
|p1= option: [[Number]] - can be one of:
* -1: log remains collector entities into a file in the [[arma.RPT|RPT]] directory - see also the {{Link|Arma 3: Cheats#REMAINS|REMAINS}} cheat and the {{hl|{{Link|Multiplayer Server Commands#Performance Profiling|#logremains}}}} {{Link|Multiplayer Server Commands|server command}}.{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}}
* -1: log remains collector entities into a file in the [[arma.RPT|RPT]] directory - see also the {{Link|Arma 3: Cheats#REMAINS|REMAINS}} cheat and the {{hl|{{Link|Multiplayer Server Commands#Performance Profiling|#logremains}}}} {{Link|Multiplayer Server Commands|server command}}.{{Feature|important|Only available in {{Link|Arma 3: Diagnostics Exe|Diagnostic}}/{{Link|Performance Profiling|Profiling}} branch.}}
* 0: corpses
* 0: corpses - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
* 1: wrecks
* 1: wrecks - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
* 2: weaponholders
* 2: weaponholders - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
* 3: overrideTimes - return [overrideTimeCorpses, overrideTimeWrecks, overrideTimeWeaponholders]


|r1= [[Array]] in format [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
|r1= [[Array]] in format [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...] or [overrideTimeCorpses, overrideTimeWrecks, overrideTimeWeaponholders]


|x1= <sqf>hintSilent str diag_remainsCollector 0;</sqf>
|x1= <sqf>hintSilent str diag_remainsCollector 0;</sqf>

Revision as of 18:16, 22 November 2024

Hover & click on the images for description

Description

Description:
Returns current settings for the remains collector and the list of monitored units if any.
Groups:
Object Manipulation

Syntax

Syntax:
diag_remainsCollector option
Parameters:
option: Number - can be one of:
  • -1: log remains collector entities into a file in the RPT directory - see also the REMAINS cheat and the #logremains server command.
    Only available in Diagnostic/Profiling branch.
  • 0: corpses - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
  • 1: wrecks - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
  • 2: weaponholders - returns [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...]
  • 3: overrideTimes - return [overrideTimeCorpses, overrideTimeWrecks, overrideTimeWeaponholders]
Return Value:
Array in format [disposalPeriod, managerMode, removeLimit, removeMinTime, removeMaxTime, minPlayerDistance, unit1, unit2...] or [overrideTimeCorpses, overrideTimeWrecks, overrideTimeWeaponholders]

Examples

Example 1:
hintSilent str diag_remainsCollector 0;

Additional Information

See also:
addToRemainsCollector removeFromRemainsCollector isInRemainsCollector

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