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 type. Types are defined in CfgLocationTypes|= Description
| Changes a location to the specified class. Location classes are defined in CfgLocationTypes|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Location]] '''setType''' [[String]] |= Syntax
| [[Location]] '''setType''' "ClassName" |= Syntax


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


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

Revision as of 13:53, 26 November 2007

-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 "ClassName"
Parameters:
Location
"ClassName": 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