createSite: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(cite Jezuro quote - createSite is obsolete. ...it appears allSites works, does deleteSite? added seeAlso deleteSite and allSites anyway)
m (Text replacement - "|= Game version" to "|Game version=")
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|0.50|= Game version
|0.50|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Create a new site.  |= Description
| Create a new site.  
{{warning | This command is considered deprecated and is no longer supported}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| type '''createSite''' pos |= Syntax
| type '''createSite''' pos |SYNTAX=


|p1= type: [[String]]  |= PARAMETER1
|p1= type: [[String]]  |PARAMETER1=  


|p2= pos: [[Position]]  |= PARAMETER2
|p2= pos: [[Position]]  |PARAMETER2=  


| [[Object]] |= RETURNVALUE
| [[Object]] |RETURNVALUE=  




|x1= <code>
|x1= -|EXAMPLE1=  
</code>|= EXAMPLE1


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[deleteSite]], [[allSites]] |= SEEALSO
| [[deleteSite]], [[allSites]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 45: Line 45:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 05:30, 31 August 2019

Hover & click on the images for description

Description

Description:
Create a new site.
This command is considered deprecated and is no longer supported
Groups:
Uncategorised

Syntax

Syntax:
type createSite pos
Parameters:
type: String
pos: Position
Return Value:
Object

Examples

Example 1:
-

Additional Information

See also:
deleteSiteallSites

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

Posted on February 18, 2014
Strangepete
"CreateSite is an obsolete command from the time in development when Sites were handled separately from other modules. Now they use the modules framework.
If you want a specific Site to be activated during the mission, place it in the editor and use the Condition line in its parameters (the last one)." - Jezuro [1]

Bottom Section