getWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Not existent in A3)
Line 4: Line 4:
| 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). |= Description
| 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}}
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code> myworld <nowiki>=</nowiki>'''getWorld''' </code>|= Example 1
____________________________________________________________________________________________
|x1= <code>hint getWorld</code>
|x1= <code>hint getWorld</code>
If testing in the Everon island it will display: eden |= Example 1
If testing in the Everon island it will display: eden |= Example 1
Line 38: Line 37:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 24, 2017 - 23:52 (UTC)</dd>
<dt class="note">[[User:DrSova|DrSova]]</dt>
<dd class="note">
Seems doesn't work in A3 1.76.143281
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 23:40, 25 November 2017

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 in Arma 3. Use worldName instead
Groups:
Uncategorised

Syntax

Syntax:
getworld
Return Value:
String

Examples

Example 1:
hint getWorld If testing in the Everon island it will display: eden

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