Action: Map(target)

Related Actions: unmap, altmap, letmapped, ifmapped, ifnotmapped
See also: FKiSS, Events, Actions

map(target)

First defined in: FKiSS1
The map action causes target to become mapped on all sets in which it is present.
Mapped cels may be clickable and visible (although ghost and transparent can also affect this). Unmapped cels are unclickable and invisible.

target

In FKiSS1 to FKiSS3, target may be an object number or cel.
In FKiSS4, target may be an object number, cel, group, or a variable representing an object number.

Example:

;@ map("doll.cel") ; Make "doll.cel" visible.
;@ map(#5)         ; Make all cels visible in object #5.
;@ map(!MyGroup)   ; Make all cels visible in group !MyGroup.
;@ map(VarObj)     ; Make all cels visible that are in the object identified by the variable VarObj.