View Issue Details

IDProjectCategoryView StatusLast Update
0009822New issuesServerpublic2018-03-09 22:51
ReporterJayAssigned To 
Status newResolutionopen 
Summary0009822: Hiding a marker using setElementVisibleTo does not work

When hiding a marker using setElementVisibleTo, it does not work the first time. You have to first of all set the element visible flag to true, and then the hide will work.


setElementVisibleTo(markerElement, thePlayer, false)

Will not work initially. To make it work, you have to do:

setElementVisibleTo(markerElement, thePlayer, true)
setElementVisibleTo(markerElement, thePlayer, false) -- now it will be hidden

Steps To Reproduce

Here is a test script.

Simply load the server side resource script, and type the command /pos, then enter the blue marker. You will see it doesn't disappear.

Uncomment line 13 to fix.

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change