libotp-nametags icon indicating copy to clipboard operation
libotp-nametags copied to clipboard

margins: multiple popups with same object code

Open DissonancePM opened this issue 6 years ago • 1 comments

In certain scenarios, multiple nametags may be created for one object in game. Currently, these nametags are able to all show at the same time. However, this does not work in scenarios where there is intended to be one nametag showing for a building such as Toon HQ.

Here is how this looks currently: unknown

In Toontown Online, Toon HQ only occupied a single margin cell and the nametag popup switched between the doors as you got closer to one door or the other:

yes

It appears this behavior has been overlooked while writing margins. This behavior seems to depend on the object code of the nametags. For example, for the doors (Toon HQ has two doors):

self.nametag.setObjectCode(self.block)

DissonancePM avatar Feb 26 '19 22:02 DissonancePM

I've never seen this happen on my server except with old outdated .pdna files. I will see if i can reproduce it though.

theclashingfritz avatar Feb 27 '19 06:02 theclashingfritz