Merge pull request #7135 from acemod/slideshow-improv

Fix slide order in slideshow
This commit is contained in:
commy2 2019-08-21 23:07:15 +02:00 committed by GitHub
commit be09fd10a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -64,6 +64,11 @@ if !(["ace_interact_menu"] call EFUNC(common,isModLoaded)) then {
// Add interactions if automatic transitions are disabled, else setup automatic transitions
if (_duration == 0) then {
// Reverse the arrays so that the interactions will be added in the right order
reverse _images;
reverse _names;
{
if (_setName == "") then {
_setName = localize LSTRING(Interaction);

View File

@ -42,4 +42,4 @@ private _duration = _logic getVariable ["Duration", 0];
// Prepare with actions
[_objects, _controllers, _images, _names, _duration, _setName] call FUNC(createSlideshow);
INFO_1("Slideshow Module Initialized on %1 Objects", count _objects);
INFO_1("Slideshow Module Initialized on %1 Objects",(count _objects));

View File

@ -161,7 +161,7 @@
</Key>
<Key ID="STR_ACE_Slideshow_SetName_DisplayName">
<English>Set Name</English>
<German>Setze Namen</German>
<German>Name der Diavorführung</German>
<Polish>Ustaw nazwę</Polish>
<Japanese>名前設定</Japanese>
<French>Définir le nom</French>