sideUnknown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Sides |GROUP1=
|gr1= Sides


| The unknown [[Side|side]].
| The unknown [[Side|side]].
<br>Used when the side of a unit is unknown, e.g. for spotted targets with insufficient information. |DESCRIPTION=
<br>Used when the side of a unit is unknown, e.g. for spotted targets with insufficient information.


| '''sideUnknown''' |SYNTAX=
| '''sideUnknown'''


|p1= |PARAMETER1=  
|p1=


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[Side]] |RETURNVALUE=
| [[Side]]




Line 27: Line 27:
soldier1 [[reveal]] [soldier2,1.5];
soldier1 [[reveal]] [soldier2,1.5];
//returns: [[[1556.52,5050.08,1.32402],"SoldierWB",WEST,0.0211193,soldier2,5]]
//returns: [[[1556.52,5050.08,1.32402],"SoldierWB",WEST,0.0211193,soldier2,5]]
</code>|EXAMPLE1=
</code>




| [[nearTargets]], [[reveal]], [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] |SEEALSO=
| [[nearTargets]], [[reveal]], [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:24, 18 January 2021

Hover & click on the images for description

Description

Description:
The unknown side.
Used when the side of a unit is unknown, e.g. for spotted targets with insufficient information.
Groups:
Sides

Syntax

Syntax:
sideUnknown
Return Value:
Side

Examples

Example 1:
//soldier1 and soldier2 of different sides and out of sight soldier1 reveal soldier2; hint str (soldier1 nearTargets 1000); //returns: [[[1557.96,5047.4,1.32402],"SoldierWB",UNKNOWN,0.0155183,soldier2,5]] soldier1 reveal [soldier2,1.5]; //returns: [[[1556.52,5050.08,1.32402],"SoldierWB",WEST,0.0211193,soldier2,5]]

Additional Information

See also:
nearTargetsrevealSidesidewesteastresistanceciviliansideLogicsideFriendlysideEnemyplayerSidesideEmptysideAmbientLifeSide relations

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