sideUnknown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(expanded description, formatting, added example, category)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 21: Line 22:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>//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]]
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 44: Line 51:
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]

Revision as of 15:26, 18 April 2014

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:
Uncategorised

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:
nearTargetsrevealSidesidewesteastresistanceciviliansideLogicsideFriendlysideEnemyplayerSideside locationSide 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

Notes

Bottom Section