Page MenuHomeFeedback Tracker

wind command does not return correct values
Assigned, WishlistPublic

Description

I recently noticed that the "wind" command does not return the correct values, which were set with the "setWind" command. This happened on a dedicated server.

I afterwards checked the behaviour in the editor, and everything seemed alright.
{F26820} {F26821}

Details

Legacy ID
762885338
Severity
None
Resolution
Open
Reproducibility
Random
Category
Scripting
Steps To Reproduce
  1. Join a server
  2. use "setWind" command
  3. type "wind" into one of the watch fields
Additional Information

Quote from the BI Forum

ceeeb, on 20 Aug 2015 - 00:27, said:

    Similar things can happen in the SP mission editor, it may not a MP specific problem.
    In SP mission editor:
    If wind is set to auto in mission intel, wind return vector can vary (but stays close to the desired wind vector). Maybe caused by gusts?
    If wind is set to manual in the mission intel, the wind return vector after using setWind (with forced true flag) matches.

    It seems something changed with setWind commands recently? I did some testing a couple of weeks ago with different results.

Event Timeline

R3vo edited Steps To Reproduce. (Show Details)Aug 20 2015, 10:31 AM
R3vo edited Additional Information. (Show Details)
R3vo set Category to Scripting.
R3vo set Reproducibility to Random.
R3vo set Severity to None.
R3vo set Resolution to Open.
R3vo set Legacy ID to 762885338.May 8 2016, 12:32 PM
Adam added a comment.Aug 20 2015, 12:54 PM

The setwind command takes a lot of time before taking effect. Can you please confirm? Thanks.

R3vo added a subscriber: R3vo.May 8 2016, 12:32 PM
R3vo added a comment.Aug 24 2015, 11:27 AM

Hey Adam,
I did some further testing, and I've uploaded my results and the used script.

It works fine in singleplayer (sometimes not 100% reliably), but it stops on a dedicated server at some point.