getWorld: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{ ?warning" to "{{Warning") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Mission Information |GROUP1= | |gr1= Mission Information |GROUP1= | ||
| 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 outside of {{ofp}}. Use [[worldName]] instead}} |Description= | {{Warning | This command doesn't exist outside of {{ofp}}. Use [[worldName]] instead}} |Description= | ||
| [[getWorld]] |Syntax= | | [[getWorld]] |Syntax= | ||
| [[String]] |Return value= | | [[String]] |Return value= | ||
|x1= <code>{{codecomment|; if testing on Everon, [[getWorld]] will return "eden"}} | |x1= <code>{{codecomment|; if testing on Everon, [[getWorld]] will return "eden"}} | ||
[[hint]] [[getWorld]]</code> |Example 1= | [[hint]] [[getWorld]]</code> |Example 1= | ||
| [[worldName]]|See also= | | [[worldName]]|See also= |
Revision as of 01:33, 17 January 2021
Description
- Description:
- Returns the name of the current map. Name is actually class as defined in config (eg Intro).
- Groups:
- Mission Information
Syntax
Examples
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