PDA

View Full Version : What are the values for Link->Action? (and other questions)



_L_
09-18-2006, 10:38 AM
"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"?

DarkDragon
09-18-2006, 01:02 PM
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.