Parallaction/Scripts/Zone flags

From ScummVM :: Wiki
< Parallaction‎ | Scripts
Revision as of 08:06, 22 July 2007 by Peres (talk | contribs) (New zone flags page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

closed

Used to mark closed doors (doors are open by default). This doesn't prevent them to be opened by the character.

active

Active zones and animations are visible and are available for interaction.

remove

Signals that a zone or animation is to be deactivated and made invisible at next frame.

acting

This flag is set by the START command. It indicates the script attached to the animation is being executed.

locked

Marks a DOOR zone that cannot be activated (opened). It is always used in conjuction with the CLOSED flag, so the final effect is exactly that of a GET zone with a FIXED flag. The duplication is needed because the graphic formats for DOOR and GET zones are slightly different (why!).

fixed

Marks a GET zone that cannot be activated (picked up).

noname

Tells the engine there is no label for this zone. (The need for this flag is not clear: isn't it enough to leave out the LABEL statement?)

nomasked

Keeps an animation to the nearest Z level, meaning it is superimposed on the screen regardless of the background mask.

looping

Has the animation script (SCR) repeating indefinitely.

added

Never used in Nippon Safes.

character

Marks animations whose Z coordinate need to be computed each frame. They typically are non-playing characters wandering around the game.

nowalk

When a zone with NOWALK flag is activated, the character is not set to move to any particular position before action actually takes place. Zones without this flag always have a MOVETO statement specifying the needed character position.