BIS fnc importImageLinks: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.08|Game version=
|1.08


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic


| Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/).
| Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/).
Line 22: Line 22:


{{Important|
{{Important|
Be wary that '''this function is CPU-demanding''' and may lock your computer for 5-10 seconds!}} |DESCRIPTION=
Be wary that '''this function is CPU-demanding''' and may lock your computer for 5-10 seconds!}}


| call [[BIS_fnc_importImageLinks]]; |SYNTAX=
| call [[BIS_fnc_importImageLinks]];


| [[Boolean]] - [[true]] when done |RETURNVALUE=
| [[Boolean]] - [[true]] when done


|x1= <code>[[call]] [[BIS_fnc_importImageLinks]];</code> |EXAMPLE1=
|x1= <code>[[call]] [[BIS_fnc_importImageLinks]];</code>


| [[Special:Upload|Upload a File on the Wiki]] |SEEALSO=
| [[Special:Upload|Upload a File on the Wiki]]
}}
}}



Revision as of 23:10, 17 January 2021

Hover & click on the images for description

Description

Description:
Imports CfgVehicles image links from Community Wiki (https://community.bistudio.com/).
  1. Run the script. It will copy a text into clipboard
  2. Open your Sandbox and paste the text into edit field
  3. Preview the page (don't save it)
  4. Copy the resulting text and use it in your scripts
Result is to the following format: _imagesCfgVehicles = [ "papercar","https://community.bistudio.com/wikidata/images/8/85/Arma3_CfgVehicles_PaperCar.jpg", "firesectortarget","", "building","", (…) ];
Be wary that this function is CPU-demanding and may lock your computer for 5-10 seconds!
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


Bottom Section