getWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Not existent in A3)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.99|= Game version
|1.99|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the name of the current map. Name is actually class as defined in config (eg Intro).  
| Returns the name of the current map. Name is actually class as defined in config (eg Intro).  
{{warning | This command doesn't exist in Arma 3. Use [[worldName]] instead}}
{{warning | This command doesn't exist outside of {{ofp}}. Use [[worldName]] instead}} |Description=
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getworld''' |= Syntax
| [[getWorld]] |Syntax=


 
| [[String]] |Return value=
| [[String]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>hint getWorld</code>
|x1= <code>{{codecomment|; if testing on Everon, [[getWorld]] will return "eden"}}
If testing in the Everon island it will display: eden |= Example 1
[[hint]] [[getWorld]]</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[worldName]]|= See also
| [[worldName]]|See also=
 
}}
}}



Revision as of 23:49, 29 May 2018

Hover & click on the images for description

Description

Description:
Returns the name of the current map. Name is actually class as defined in config (eg Intro).
This command doesn't exist outside of Operation Flashpoint. Use worldName instead
Groups:
Uncategorised

Syntax

Syntax:
getWorld
Return Value:
String

Examples

Example 1:
; if testing on Everon, getWorld will return "eden" hint getWorld

Additional Information

See also:
worldName

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