setEditorObjectScope: Difference between revisions
Jump to navigation
Jump to search
(populated) |
(populated) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| This command defines the level of access a user has to editor objects, objects is an array of either Editor Objects (eg [_unit_0]) or actual,Game Objects (eg [player]). If the array is empty then the command will,automatically parse all editor objects. editor type is the editor type,to effect (eg unit),or for none. condition is an executable string,that must evaluate to true or false. If true,the scope of the,evaluated editor object will be modified. scope is one of HIDE,VIEW,SELECT,LINKTO,LINKFROM,ALLNODRAG,ALLNOTREE or ALL. subordinates,also is a boolean value,if true then subordinates in the editor will,be assigned the same scope as the parent. | | This command defines the level of access a user has to editor objects, objects is an array of either Editor Objects (eg [_unit_0]) or actual,Game Objects (eg [player]). If the array is empty then the command will,automatically parse all editor objects. editor type is the editor type,to effect (eg unit),or for none. condition is an executable string,that must evaluate to true or false. If true,the scope of the,evaluated editor object will be modified. scope is one of HIDE,VIEW,SELECT,LINKTO,LINKFROM,ALLNODRAG,ALLNOTREE or ALL. subordinates,also is a boolean value,if true then subordinates in the editor will,be assigned the same scope as the parent. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| map '''setEditorObjectScope''' [objects,editor type,condition,scope,subordinates also] |= Syntax | | map '''setEditorObjectScope''' [objects,editor type,condition,scope,subordinates also]|= Syntax | ||
|p1= map: [[Control]] - |= PARAMETER1 | |p1= map: [[Control]] - |= PARAMETER1 | ||
Line 18: | Line 18: | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| Nothing |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= < | |x1= <pre>_map setEditorObjectScope [[],vehicle,side effectiveCommander _x]</pre>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 17:07, 4 June 2009
Description
- Description:
- This command defines the level of access a user has to editor objects, objects is an array of either Editor Objects (eg [_unit_0]) or actual,Game Objects (eg [player]). If the array is empty then the command will,automatically parse all editor objects. editor type is the editor type,to effect (eg unit),or for none. condition is an executable string,that must evaluate to true or false. If true,the scope of the,evaluated editor object will be modified. scope is one of HIDE,VIEW,SELECT,LINKTO,LINKFROM,ALLNODRAG,ALLNOTREE or ALL. subordinates,also is a boolean value,if true then subordinates in the editor will,be assigned the same scope as the parent.
- Groups:
- Uncategorised
Syntax
- Syntax:
- map setEditorObjectScope [objects,editor type,condition,scope,subordinates also]
- Parameters:
- map: Control -
- [objects,editor type,condition,scope,subordinates also]: Array -
- Return Value:
- Nothing
Examples
- Example 1:
_map setEditorObjectScope [[],vehicle,side effectiveCommander _x]
Additional Information
- See also:
- See also needed
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