Difference between revisions of "BIS fnc importImageLinks"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:
 
|s1= call [[BIS_fnc_importImageLinks]];
 
|s1= call [[BIS_fnc_importImageLinks]];
  
|r1=[[Boolean]] - [[true]] when done
+
|r1= [[Boolean]] - [[true]] when done
  
|x1= <code>[[call]] [[BIS_fnc_importImageLinks]];</code>
+
|x1= <sqf>call BIS_fnc_importImageLinks;</sqf>
  
 
|seealso= [[Special:Upload|Upload a File on the Wiki]]
 
|seealso= [[Special:Upload|Upload a File on the Wiki]]
 
}}
 
}}

Latest revision as of 14:04, 5 May 2022

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:

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