onShowNewObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|Comments=
____________________________________________________________________________________________


[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
| arma2 |Game name=
 
|1.00|Game version=
____________________________________________________________________________________________
 
| Defines an action performed when the user right clicks on the map and,selects New Object. Set to empty for default behavior. Command receives:,_pos array position,
{{Informative | Some Old Editor Command}} |DESCRIPTION=
____________________________________________________________________________________________
 
| map '''onShowNewObject''' command |SYNTAX=
 
|p1= map: [[Control]] -  |PARAMETER1=
 
|p2= command: [[String]] -  |PARAMETER2=
 
|p3= |PARAMETER3=
 
| [[Any]] |RETURNVALUE=
 
 
|x1= <code>(example)</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
|  |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
 
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<h3 style='display:none'>Bottom Section</h3>
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 14:44, 10 January 2020

Hover & click on the images for description

Description

Description:
Defines an action performed when the user right clicks on the map and,selects New Object. Set to empty for default behavior. Command receives:,_pos array position,
Some Old Editor Command
Groups:
Uncategorised

Syntax

Syntax:
map onShowNewObject command
Parameters:
map: Control -
command: String -
Return Value:
Any

Examples

Example 1:
(example)

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

Notes

Bottom Section