sideUnknown: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|s1=" to " |s1=") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 15: | Line 15: | ||
|gr1= Sides | |gr1= Sides | ||
| The unknown [[Side|side]]. | |descr= The unknown [[Side|side]]. | ||
<br>Used when the side of a unit is unknown, e.g. for spotted targets with insufficient information. | <br>Used when the side of a unit is unknown, e.g. for spotted targets with insufficient information. | ||
Line 22: | Line 22: | ||
|r1= [[Side]] | |r1= [[Side]] | ||
|x1= < | |x1= <sqf> | ||
soldier1 | //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]] | //returns: [[[1557.96,5047.4,1.32402],"SoldierWB",UNKNOWN,0.0155183,soldier2,5]] | ||
soldier1 | 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]] | ||
</ | </sqf> | ||
|seealso= [[nearTargets]] | |seealso= [[nearTargets]] [[reveal]] [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideFriendly]] [[sideEnemy]] [[playerSide]] [[sideEmpty]] [[sideAmbientLife]] [[Side Relations]] | ||
}} | }} | ||
Latest revision as of 19:42, 3 September 2024
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:
- nearTargets reveal Side side west east resistance civilian sideLogic sideFriendly sideEnemy playerSide sideEmpty sideAmbientLife Side 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