IsClonedForm

From GECK
(Redirected from IsCloned)
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns whether the specified BaseForm has the mod index of 0xFF (not owned by any mod). Baseforms with a mod index of 0xFF include those created with TempCloneForm, hence this function's name.

This also returns true for clones made with the indexToCallingScript arg set to 1 in TempCloneForm.

If form argument is omitted and a calling reference is provided, that reference's BaseForm is used.

Syntax

[help]
(isCloned:0/1) reference.IsClonedForm form:baseForm 

Or:

(isCloned:0/1) reference.IsCloned form:baseForm 

See Also