civilian: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(mass edit: removing obsolete </dt> and </dd> tags)
Line 44: Line 44:
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 10:54, 2 November 2011

Hover & click on the images for description

Description

Description:
Pre-defined variable for the civilian side. When used in a format statement (hint format["%1",civilian]), the string returned is "CIV".
Groups:
Uncategorised

Syntax

Syntax:
Side = civilian
Return Value:
Side

Examples

Example 1:
?((side _unit)==civilian) : hint "This is a civilian unit!"

Additional Information

See also:
sidewesteastresistance

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

Ceeeb
In OFP v1.96, empty vehicles, objects and dead soldiers are on side civilian.

Bottom Section