Skip to content

Export to SQF function do not allow for easy copying of large missions #789

@tova-cup

Description

@tova-cup

Is your enhancement related to a problem?
Currently, the export to SQF module allow to display the content of a mission into a SQF copy than can be run at a later time to restore the mission.

However, in its current state, the dialogue does not come with a "select all" nor "copy" button.

While it is not impactful if a mission contains only a couple of objects, it makes the use of the SQF code near impossible if the mission is large (hundreds of objects, units with custom loadouts, etc.) as the player will not be able to select the whole SQF code.

Solution you'd like:
Add either a "select all" or a "copy" button to the export SQF module's dialogue.

Alternatives you've considered:
As a "least effort" solution, automatically copy to clipboard the SQF code displayed with a tactical use of the copyToClipboard command.

Approach is not feasible as copyToClipboard only works on server.
See comment.

Additional context:
Please note that the following shortcuts do not work in the dialogue and do not allow to select all : Ctrl + A, Ctrl + Shift + End.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproves an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions