Difference between revisions of "BIS fnc importImageLinks"
Jump to navigation
Jump to search
Str_bi_wiki (talk | contribs) m (1 revision) |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{RV|type=function | ||
− | + | |game1= arma3 | |
− | + | |version1= 1.08 | |
− | | | + | |gr1= Diagnostic |
− | | | + | |descr= Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/). |
− | + | # Run the script. It will copy a text into clipboard | |
+ | # Open your [[Special:MyPage/Sandbox|Sandbox]] and paste the text into edit field | ||
+ | # '''Preview''' the page (don't save it) | ||
+ | # Copy the resulting text and use it in your scripts | ||
− | + | Result is to the following format: | |
+ | <code>_imagesCfgVehicles {{=}} [ | ||
+ | "papercar","{{filepath:Arma3 CfgVehicles PaperCar.jpg}}", | ||
+ | "firesectortarget","{{filepath:Arma3 CfgVehicles FireSectorTarget.jpg}}", | ||
+ | "building","{{filepath:Arma3 CfgVehicles Building.jpg}}", | ||
+ | (…) | ||
+ | ];</code> | ||
− | + | {{Feature|important| | |
− | + | Be wary that '''this function is CPU-demanding''' and may lock your computer for 5-10 seconds!}} | |
− | + | |s1= call [[BIS_fnc_importImageLinks]]; | |
− | |||
− | |||
− | |||
− | + | |r1= [[Boolean]] - [[true]] when done | |
− | |||
− | + | |x1= <code>[[call]] [[BIS_fnc_importImageLinks]];</code> | |
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |seealso= [[Special:Upload|Upload a File on the Wiki]] | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 22:25, 7 August 2021
Description
- Description:
- Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/).
- Run the script. It will copy a text into clipboard
- Open your Sandbox and paste the text into edit field
- Preview the page (don't save it)
- Copy the resulting text and use it in your scripts
_imagesCfgVehicles = [ "papercar","https://community.bistudio.com/wikidata/images/8/85/Arma3_CfgVehicles_PaperCar.jpg", "firesectortarget","", "building","", (…) ];
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- call BIS_fnc_importImageLinks;
- Return Value:
- Boolean - true when done
Examples
- Example 1:
call BIS_fnc_importImageLinks;
Additional Information
- See also:
- Upload a File on the Wiki
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