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

What are the values for Link->Action? (and other questions)

1 replies · 2,051 views · Started 18 September 2006

"Hmm, it seems that they actually did implement that Action variable for the Link object. I'd better ask them what values map to which actions."

Also: what are the two arguments for Link->Warp() supposed to be? Coordinates?

Also: are functions called using "Link->Warp(1,1)" or "Link.Warp(1,1)"?

Also: what are the "map flags" stored in CurMapFlag[]?

Also: what is "bool HasPlayed"?

1. Those'll be included in the std.zh file in b14.
2. Same as for tile and side warps: the first is the dmap number, the second the screen number within that dmap.
3. Link->Warp. Link is just a global pointer to a special link object. The only time you use . is to access another script's global variables.
4. I'm not sure; I just blindly copied it from ASM into ZScript. I'll ask jman next I see him.
5. I believe it's true if and only if the current session was loaded from a saved game.