Action: Letfix(variable, target)

Related Actions: setfix, setkcf, letkcf, ghost, transparent, lettransparent, letinitx, letinity, letmapped, letobjectx, letobjecty, letwidth, letheight, letcollide, letinside
Related Events: fixcatch, fixdrop, unfix
See also: FKiSS, Events, Actions

letfix(variable, target)

First defined in: FKiSS3
The letfix action sets the value of variable to the fix value of target.

variable

variable must be a variable name.

target

In FKiSS3, target must be an object number.
In FKiSS4, target may be an object number or a variable representing an object number.

Example:

;@ letfix(F, #5)     ; Get the fix value of object #5 and put it in variable F.
;@ letfix(F, VarObj) ; Get the fix value of the object identified by VarObj and put it in F.