setType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Changes a location to the specified class. Location classes are defined in CfgLocationTypes. |= Description
| Changes a location to the specified class. Location classes are defined in CfgLocationTypes. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''setType''' name |= Syntax
| location '''setType''' name |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |PARAMETER1=
|p2= name: [[String]] |= Parameter 2
|p2= name: [[String]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>myLocation setType "RockArea"</pre> |= Example 1
|x1= <pre>myLocation setType "RockArea"</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[type]] |= See also
| [[type]] |SEEALSO=


}}
}}

Revision as of 15:48, 7 April 2019

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Changes a location to the specified class. Location classes are defined in CfgLocationTypes.
Groups:
Uncategorised

Syntax

Syntax:
location setType name
Parameters:
location: Location
name: String
Return Value:
Nothing

Examples

Example 1:
myLocation setType "RockArea"

Additional Information

See also:
type

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