sideEnemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(54 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofpr |= Game name
|game1= ofp
|version1= 1.78


|1.78|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| The Enemy side (used for renegades). Unit of this side is enemy to everyone. To become one, you can attack members of your own side. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| [[Side]] <nowiki>=</nowiki> '''sideEnemy''' |= Syntax
|game4= arma2
|version4= 1.00


| [[Side]] |= Return value
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| [[sideFriendly]] |= See also
|game6= tkoh
|version6= 1.00


}}
|game7= arma3
|version7= 0.50
 
|gr1= Sides
 
|descr= The enemy [[Side|side]] which is used for renegades. Units of this side are hostile to everyone.
* To join [[sideEnemy]], you can attack members of your own side or use [[addRating]].
* When below a [[rating]] of -2000 units switch automatically to this side.
 
|s1= [[sideEnemy]]


<h3 style="display:none">Notes</h3>
|r1= [[Side]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>
</dl>
if (side player == sideEnemy) then
{
hint "We've got a renegade!";
};
</sqf>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[addRating]] [[rating]] [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideFriendly]] [[sideUnknown]] [[playerSide]] [[sideEmpty]] [[sideAmbientLife]] [[Side Relations]]
[[Category:Scripting Commands|SIDEENEMY]]
}}
[[Category:Scripting Commands OFP 1.96|SIDEENEMY]]
[[Category:Scripting Commands ArmA|SIDEENEMY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:34, 3 September 2024

Hover & click on the images for description

Description

Description:
The enemy side which is used for renegades. Units of this side are hostile to everyone.
  • To join sideEnemy, you can attack members of your own side or use addRating.
  • When below a rating of -2000 units switch automatically to this side.
Groups:
Sides

Syntax

Syntax:
sideEnemy
Return Value:
Side

Examples

Example 1:
if (side player == sideEnemy) then { hint "We've got a renegade!"; };

Additional Information

See also:
addRating rating Side side west east resistance civilian sideLogic sideFriendly sideUnknown 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