removeGoggles – Talk

From Bohemia Interactive Community
Revision as of 13:10, 17 August 2014 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search

@Killzone Kid: You're indeed right about the locality, I wrote the info based on what I had noticed a few months ago, where removeGoggles was called on server AI but for some reason the goggles were still in the inventory after it had been killed. I guess it must've been secretly fixed since then. --AgentRev 02:23, 13 August 2014 (CEST)

A follow-up on the note above, I experienced the issue again; I call removeGoggles client-side on spawn for every player, and one more time server-side after death, yet I found a player's corpse which had glasses, so the problem is definitely still there. --AgentRev 03:57, 17 August 2014 (CEST)

are you sure the goggles are not added again by a randomization script or some other script? --KK
Just tested, when log out, the server transfers bot identity to the dead body, and it might as well contain goggles. Nothing to do with locality of this command though. -- KK