Make night in editor
start as blufor
add some IR grenades
player addmagazines ["B_IR_Grenade", 3];
put on NVGs and throw IR grenade -> you can see the beacon
now add other factions IR grenades:
player addmagazines ["O_IR_Grenade", 3]; - opfor
player addmagazines ["I_IR_Grenade", 3]; - indep
Throw then and you can see them too.
Change NVGs for NVGoggles_OPFOR and NVGoggles_INDEP and you can still see all beacons.