Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

What is up with GetMapFlag?

2 replies · 1,611 views · Started 22 October 2006

[quote="std.zh"]bool GetMapFlag(int dmap, int flag)
* As with CurMapFlag, but retrieves the miscellaneous flags of any dmap,
* not just the current one. Use the MF_ constants in std.zh for the
* flag parameter.[/quote]

I see two problems with this:

* DMaps don't have misc. flags.
* Screens have misc. flags, but there's no way to pass a screen number to that method.

*coughnewbeta15featurecough*

Remember, that documentation is for beta 15, not beta 14. Like with the item and NPC functions.

That or I was smoking crack at the time of the documentation, either one is equally likely :shrug:
jman implemented the flag and thus should be more familiar with what it does, I just wrote the documentation on a (very cursory) inspection of the source.