Page MenuHomeFeedback Tracker

allTurrets-command working upside down
New, WishlistPublic

Description

False return [] but true returns correct turrets, but should be otherway round.

https://community.bistudio.com/wiki/allTurrets

Details

Legacy ID
1583375665
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Jump in tank and use this in esc-menu, then try true:
hint str (allTurrets [vehicle player, false]);

Event Timeline

SaOk edited Steps To Reproduce. (Show Details)Feb 15 2015, 6:42 PM
SaOk edited Additional Information. (Show Details)
SaOk set Category to Scripting.
SaOk set Reproducibility to Always.
SaOk set Severity to None.
SaOk set Resolution to Open.
SaOk set Legacy ID to 1583375665.May 7 2016, 8:16 PM

confirmed

in Kuma for example:

hint str (allTurrets vehicle player); []
hint str (allTurrets [vehicle player, false]);
[]

hint str (allTurrets [vehicle player, true]); [[0],[0,0]]

human turrets listed as main turrets