RockstarRaccoon wrote:How about this then?
Code: Select all
AutoMap_RevealLine(int Lid = 0, int Tid = 0)
Code: Select all
AutoMap_RevealFloor(int Sid = 0, int Tid = 0)
Lid/Sid 0 is the whole map
Tid 0 is every player
tid 0 is traditionally the activator. And since only players can have maps, you'd better do like the functions that use a player number directly, such as (random example) [wiki]GetAirSupply[/wiki].
I'm gonna insist on the generic, multipurpose solution:
Code: Select all
Line_SetFlag(int lid, enum flag, int playernum)
For reveal line, then, you'd have something like:
Code: Select all
Line_SetFlag(1337, LF_REVEALED, int 0)
See? Does what you want,
and a lot more.
RockstarRaccoon wrote:
I should ask though, because I wouldn't know, does the automap-pickup also reveal the floors for people who have that feature turned on? Because if not, lines would be enough... Of it is, I actually kinda would like control over that...
It doesn't.