setEditorObjectScope

From Bohemia Interactive Community
Revision as of 17:38, 4 June 2009 by Kronzky (talk | contribs) (populated)
Jump to navigation Jump to search

{{Command|= Comments ____________________________________________________________________________________________

| arma2 |= Game name

|1.00|= Game version ____________________________________________________________________________________________

| 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. Example:_map setEditorObjectScope [[],vehicle,side effectiveCommander _x |= Description ____________________________________________________________________________________________

| map setEditorObjectScope [objects,editor type,condition,scope,subordinates also] |= Syntax

|p1= map: Control - |= PARAMETER1

|p2= [objects,editor type,condition,scope,subordinates also]: Array - |= PARAMETER2

|p3= |= PARAMETER3

| Nothing |= RETURNVALUE


|x1= ion: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. Example:_map setEditorObjectScope [[],vehicle,side effectiveCommander _x|= EXAMPLE1

____________________________________________________________________________________________

| |= SEEALSO

| |= MPBEHAVIOUR ____________________________________________________________________________________________ }}

Notes

Bottom Section