BIS fnc importImageLinks: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 6: | Line 6: | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
|descr= Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/). | |descr= Imports CfgVehicles image links from the Community Wiki ({{Link|https://community.bistudio.com/}}). | ||
# Run the script. It will copy a text into clipboard | # Run the script. It will copy a text into clipboard | ||
# Open your [[Special:MyPage/Sandbox|Sandbox]] and paste the text into edit field | # Open your [[Special:MyPage/Sandbox|Sandbox]] and paste the text into edit field | ||
# '''Preview''' the page ( | # '''Preview''' the page (do not save it) | ||
# Copy the resulting text and use it in your scripts | # Copy the resulting text and use it in your scripts | ||
Result is | Result is in the following format: | ||
<sqf> | <sqf> | ||
_imagesCfgVehicles = [ | _imagesCfgVehicles = [ | ||
Line 22: | Line 22: | ||
</sqf> | </sqf> | ||
{{Feature|important|Be wary that this function is '''CPU-demanding''' and may lock your computer for 5-10 seconds | {{Feature|important|Be wary that this function is '''CPU-demanding''' and may lock your computer for 5-10 seconds.}} | ||
|s1= call [[BIS_fnc_importImageLinks]] | |s1= call [[BIS_fnc_importImageLinks]] |
Revision as of 09:51, 6 September 2024
Description
- Description:
- Imports CfgVehicles image links from the Community Wiki ([1]).
- Run the script. It will copy a text into clipboard
- Open your Sandbox and paste the text into edit field
- Preview the page (do not 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","", // etc ]; - 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