Ace3: BUG with more than two pictures in slideshow (through code)

Created on 6 Feb 2018  路  2Comments  路  Source: acemod/ACE3

Arma 3 Version: latest/stable
CBA Version: 3.x.x latest/stable
ACE3 Version: 3.x.xlatest/stable

Mods:

- CBA_A3
- ace

Description:

  • Using ace_slideshow_fnc_createSlideshow; with more than two pictures won't work. It does work when 2 pictures or 1 are set.

Steps to reproduce:
[[object1, object2], [controller1], ["images\image1.paa", "images\image2.paa"], ["Action1", "Action2"], 5, "My Slides"] call ace_slideshow_fnc_createSlideshow; ==> works

[[object1, object2], [controller1], ["images\image1.paa", "images\image2.paa","images\image3.paa"], ["Action1", "Action2"], 5, "My Slides"] call ace_slideshow_fnc_createSlideshow; ==> doesn't work
Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual

Placed Modules:

  • This is true when calling the function from a script I haven't tested it with the editor module.

RPT log file:

  • Add a link (gist or pastebin) to the client and/or server RPT file. An instruction to find your RPT files can be found here.
  • If possible at the time the bug is encountered, go to Options and select "ACE Debug To Clipboard", this will print extensive debug information to the RPT file and copy it to clipboard.
kinquestion

Most helpful comment

"won't work" Means? Game crashes instantly, nothing happens, nuclear fallout?
No. You get a error in RPT(Which you btw didn't upload.. Like the issue template says)

https://github.com/acemod/ACE3/blob/1590948b92372d5648fd55cd5fbb44cf0302456a/addons/slideshow/functions/fnc_createSlideshow.sqf#L37

must have equal number of items!

["images\image1.paa", "images\image2.paa","images\image3.paa"]

["one", "two","three"]

["Action1", "Action2"]

["one", "two"]... eh....

All 2 comments

"won't work" Means? Game crashes instantly, nothing happens, nuclear fallout?
No. You get a error in RPT(Which you btw didn't upload.. Like the issue template says)

https://github.com/acemod/ACE3/blob/1590948b92372d5648fd55cd5fbb44cf0302456a/addons/slideshow/functions/fnc_createSlideshow.sqf#L37

must have equal number of items!

["images\image1.paa", "images\image2.paa","images\image3.paa"]

["one", "two","three"]

["Action1", "Action2"]

["one", "two"]... eh....

Thanks that answers my question/solves my problem (I should have read the function ''s header but in my defense it doesn't say anything about the actions here: https://ace3mod.com/wiki/framework/slideshow-framework.html )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JudahHarvey picture JudahHarvey  路  4Comments

pognivet picture pognivet  路  3Comments

Giorgy32 picture Giorgy32  路  4Comments

Harry666cz picture Harry666cz  路  3Comments

thirald picture thirald  路  3Comments