logEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
m (Some wiki formatting)
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.18


|1.18|Game version=
|gr1= Diagnostic


____________________________________________________________________________________________
|descr= Creates a log file containing the list of all game entities in scene.
 
The file is created in the same directory as [[Crash_Files|.rpt file]].
| Creates a log file containing the list of all game entities in scene.  
{{Feature|informative|[[BattlEye]]'s RCON variant of this command is {{hl|#logEntities}} (see also [[Multiplayer Server Commands]]).}}
<br>File is created in the same directory as [[Crash_Files|.rpt file]].  
File name example: {{hl|logEntities_4688_12-04-2014_12-19-39.log}}<br>
<br>Special: BattlEye's RCON variant of this command is #logEntities (see also [[Multiplayer_Server_Commands]])
File content example: <spoiler text="Show example">
|DESCRIPTION=
<pre>
____________________________________________________________________________________________
====================== Vehicles =======================
 
|'''logEntities''' |SYNTAX=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[logEntities]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[entities]], [[nearEntities]], [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_captureFrame]], [[exportJIPMessages]] |SEEALSO=
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]<dd class="note">
File name example:  
<pre>logEntities_4688_12-04-2014_12-19-39.log</pre>
File content example:
<pre>====================== Vehicles =======================


> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:1, Out: 0, NetID:2:3, Pos: [2476.243896][73.782043], N:B_Soldier_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:1, Out: 0, NetID:2:3, Pos: [2476.243896][73.782043], N:B_Soldier_F
Line 59: Line 38:


=================== Slow vehicles =====================
=================== Slow vehicles =====================


Total objects: 214
Total objects: 214
Line 92: Line 70:
IsVisible: 0
IsVisible: 0
IsAnyPlayer: 0
IsAnyPlayer: 0
IsOutsideMap: 0</pre>
IsOutsideMap: 0
<!-- Note Section END -->
</pre>
</dl>
</spoiler>


<h3 style="display:none">Bottom Section</h3>
|s1= [[logEntities]]


|r1= [[Nothing]]


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|x1= <sqf>logEntities;</sqf>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[entities]] [[nearEntities]] [[diag_log]] [[diag_fps]] [[diag_fpsmin]] [[diag_frameno]] [[diag_tickTime]] [[diag_captureFrame]] [[exportJIPMessages]]
[[Category:Command_Group:_Performance_Logging|{{uc:{{PAGENAME}}}}]]
}}

Latest revision as of 18:09, 5 September 2024

Hover & click on the images for description

Description

Description:
Creates a log file containing the list of all game entities in scene. The file is created in the same directory as .rpt file.
BattlEye's RCON variant of this command is #logEntities (see also Multiplayer Server Commands).

File name example: logEntities_4688_12-04-2014_12-19-39.log

File content example:
====================== Vehicles =======================

> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:1, Out: 0, NetID:2:3, Pos: [2476.243896][73.782043], N:B_Soldier_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2471.500977][62.477680], N:Snake_random_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2489.192383][73.935181], N:Snake_random_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2487.953857][73.828362], N:Snake_random_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2800.174805][96.234093], N:Rabbit_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2825.378418][2.068635], N:Rabbit_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2888.919434][6.837101], N:Rabbit_F
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:0:0, Pos: [2910.756104][16.089361], N:Rabbit_F
> Loc:0, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 1, AnyPl:0, Out: 0, NetID:2:0, Pos: [9.000000][9.000000], N:Logic

Total objects: 9
Statistics objects: 9

IsLocal: 8
IsMarkedToDelete: 0
IsDestroyed: 0
IsDamageDestroyed: 0
IsDamageDead: 0
IsNotSimulated: 9
IsVisible: 1
IsAnyPlayer: 1
IsOutsideMap: 0

=================== Slow vehicles =====================

Total objects: 214
Statistics objects: 0

Static objects are accounted in total object count but not included in statistics

IsLocal: 0
IsMarkedToDelete: 0
IsDestroyed: 0
IsDamageDestroyed: 0
IsDamageDead: 0
IsNotSimulated: 0
IsVisible: 0
IsAnyPlayer: 0
IsOutsideMap: 0

=================== Out vehicles ====================

> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:2:1, Pos: [2476.243896][73.782043], N:Supply40
> Loc:1, ForDel:0, Dstr:0, DmgDstr:0, DmgDead:0, Sim:1, Inv: 0, AnyPl:0, Out: 0, NetID:2:2, Pos: [2476.243896][73.782043], N:Supply140

Total objects: 2
Statistics objects: 2

IsLocal: 2
IsMarkedToDelete: 0
IsDestroyed: 0
IsDamageDestroyed: 0
IsDamageDead: 0
IsNotSimulated: 2
IsVisible: 0
IsAnyPlayer: 0
IsOutsideMap: 0
↑ Back to spoiler's top
Groups:
Diagnostic

Syntax

Syntax:
logEntities
Return Value:
Nothing

Examples

Example 1:
logEntities;

Additional Information

See also:
entities nearEntities diag_log diag_fps diag_fpsmin diag_frameno diag_tickTime diag_captureFrame exportJIPMessages

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