onShowNewObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "| - }}" to "|seealso= - }}")
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
| arma2


|1.00|= Game version
|1.00
____________________________________________________________________________________________
 
|gr1= Game 2 Editor


| 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,  
| 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=
{{Feature | Informative | Some Old Editor Command}}
____________________________________________________________________________________________
 
| map '''onShowNewObject''' command |SYNTAX=
 
|p1= map: [[Control]] -  |PARAMETER1=
 
|p2= command: [[String]] -  |PARAMETER2=


|p3= |PARAMETER3=
| map '''onShowNewObject''' command


| [[Any]] |RETURNVALUE=
|p1= map: [[Control]] -


|p2= command: [[String]] -


|x1= <code>(example)</code>|EXAMPLE1=
| [[Anything]]


____________________________________________________________________________________________
|x1= -


| |SEEALSO=  
|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>
{{GameCategory|arma2|Scripting Commands}}
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 09:59, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
Syntax needed
Parameters:
map: Control -
command: String -
Return Value:
Return value needed

Examples

Example 1:
-

Additional Information

See also:
-

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