Page MenuHomeFeedback Tracker

getShotInfo not working as expected with timers on placed explosives
New, NormalPublic

Description

The command "getShotInfo" doesn't work as expected when used on placed explosives such as the "Explosive Charge" or "Explosive Satchel". The return value of (index 2) "timeToExplosion" doesn't return the remaining time on a set timer as expected.

This makes it impossible to tell whether or not a timer has been set at all and/or how much time is remaining on it. It would be very useful to have a getter/setter for this. A functionality to get the timer state/value could be added to "getShotInfo" where "timeToExplosion" returning -1 means there is no timer set and "timeToExplosion" >0 means there is a timer active and the value is the remaining time.

A setter function to start/stop a timer on a charge as well as setting the timer to a specified value would be very useful as well. This would make the currently available, rather convoluted way, of remotely disabling/setting a timer a whole lot easier. This could be achieved by a new command, say something like "setExplosiveTimer" with parameters like [start/stop[bool],(optional)time[int]].

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
unrelated
Category
General
Steps To Reproduce

This is reproduced easily, as this behaviour appears to be intended for the moment. The command simply doesn't take timers on placed explosives into account it seems.

  • Take any "timer capable" explosive charge (for this example: Explosive Charge)
  • Have a way to track the return of getShotInfo either before/after or realtime
  • Place the charge
  • Set a timer on the charge

A short video showcasing this: https://www.youtube.com/watch?v=5ZTSGO4bDMQ

Additional Information

Game Version & such:

Launcher version: 1.5.152445
Game version: 2.18.152405
Branch: main / beta branch not specified

Event Timeline

Kohjin created this task.Fri, Apr 4, 9:09 PM
Dimonua added a subscriber: Dimonua.Fri, Apr 4, 9:33 PM
Kohjin updated the task description. (Show Details)Fri, Apr 4, 10:09 PM
Kohjin updated the task description. (Show Details)
TRAGER added a subscriber: TRAGER.Sat, Apr 5, 4:23 AM