Page MenuHomeFeedback Tracker

setWeaponReloadingTime has no effect, and contradicting documentation
New, WishlistPublic

Description

setWeaponReloadingTime seems broken. No arguments have any effect, neither before reloading or while reloading.

Furthermore, the wiki and the game has two completely different and contradicting descriptions of the command.

Wiki: "Sets states and/or makes an action of/on weapon. Reload time is between 0 and 1 inclusive, where 1 is 100% of maximum reloading time."

This would indicate that 0.0 is 0% of the configured reloading time (Thus 0 seconds), and 1.0 is 100% of the entire configured reloading time.

Game: "Set phase of weapon reloading. ReloadTime goes from 0 to 1, where 1 is the end of loading procedure. Return values tells if given weapon was found for given gunner."

This however seems to say that it sets the position inside the animation, and that 1 instant completion and 0 will play the entire animation.

Details

Legacy ID
966527542
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting

Event Timeline

MulleDK19 edited Additional Information. (Show Details)
MulleDK19 set Category to Scripting.
MulleDK19 set Reproducibility to Always.
MulleDK19 set Severity to None.
MulleDK19 set Resolution to Open.
MulleDK19 set Legacy ID to 966527542.May 7 2016, 6:03 PM
Bohemia added a subscriber: AD2001.Feb 27 2014, 8:09 AM