Difference between revisions of "BIS fnc importImageLinks"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
Result is to the following format: | Result is to the following format: | ||
− | < | + | <sqf> |
− | "papercar"," | + | _imagesCfgVehicles = [ |
− | "firesectortarget"," | + | "papercar","https://community.bistudio.com/wikidata/images/8/85/Arma3_CfgVehicles_PaperCar.jpg", |
− | "building"," | + | "firesectortarget","", |
− | + | "building","", | |
− | ];</ | + | // etc |
+ | ]; | ||
+ | </sqf> | ||
− | {{Feature|important| | + | {{Feature|important|Be wary that this function is '''CPU-demanding''' and may lock your computer for 5-10 seconds!}} |
− | Be wary that ''' | ||
− | |s1= call [[BIS_fnc_importImageLinks]] | + | |s1= call [[BIS_fnc_importImageLinks]] |
|r1= [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done |
Latest revision as of 12:22, 13 July 2022
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","", // etc ]; - 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