HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detect "hidden" map flag

08-12-2008, 12:19 PM#1
DioD
There is map setup (see screen shot) and option for referees.

But there is no referee map flag, do any one know, how map loads mapflags from setup to map's code?
Attached Images
File type: jpgreferees.jpg (37.4 KB)
08-12-2008, 12:43 PM#2
Toadcop
Quote:
how map loads mapflags from setup to map's code?
Conv int ? i can't test it right now but i am sure it's easy. (just need to spend some time)
08-13-2008, 04:47 PM#3
Troll-Brain
The default main function care if a player is an observer or not, with the function IsPlayerObserver. (InitBlizzard)
It will return true if a player is an observer or a referee.
But for the rest i think it's simply hardcoded.

Btw the difference between an observer and a referee is only the possibility of display a message to other players, or there are also other differences ?