in that case you can get the name of the opened scene with this command:
Code:
/script d(SCENE_MANAGER:GetCurrentScene())
and add them like the map scene
Lua Code:
if((scene == map or scene == another) and newState == SCENE_FRAGMENT_HIDDEN) then
or just remove the check for a specific scene and let it close the tooltips on any scene
Lua Code:
if(newState == SCENE_FRAGMENT_HIDDEN) then