setType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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''' "ClassName" |= Syntax
| location '''setType''' name |= Syntax


|p1= [[Location]] |= Parameter 1
|p1= location: [[Location]] |= Parameter 1
|p2= "ClassName": [[String]] |= Parameter 2
|p2= name: [[String]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 22:26, 25 January 2009

-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