official-antistasi-community / A3-Antistasi

Antistasi Community Version - work in progress - Discord https://discord.com/invite/TYDwCRKnKX
https://antistasi.de
Other
226 stars 156 forks source link

Added: A tooltip for the locktime #3334

Closed killerswin2 closed 3 months ago

killerswin2 commented 3 months ago

What type of PR is this.

  1. [ ] Bug
  2. [x] Change
  3. [x] Enhancement

What have you changed and why?

Information: This adds to the locked tooltip, when the vehicle was locked. It is need for commanders, as they typically do not have access to the rpt logs to see lock times. Had to implement a way to get time-spans from sqf. I don't want to do that again. This was done because we don't have ints in the engine.

Please specify which Issue this PR Resolves.

N/A

Please verify the following and ensure all checks are completed.

  1. [x] Have you loaded the mission in LAN host?
  2. [ ] Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. [ ] No
  2. [ ] Yes (Please provide further detail below.)

How can the changes be tested?

Steps:


Notes:

killerswin2 commented 3 months ago

Screenshot 2024-07-03 003453 Screenshot 2024-07-03 003700

jaj22 commented 3 months ago

Not sure why I let timespan_format through with capitalized units and no configurable minimum unit. Oh well.