CreatureHasModel

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns 1 if the creature's model-list includes the specified .nif file.

Syntax

[help]
(hasModel:0/1) reference.CreatureHasModel modelPath:string baseForm:ref

Example

set bHasModel to RexRef.CreatureHasModel "eyessetvicious.nif"
set bHasModel to CreatureHasModel "eyessetvicious.nif" Rex

Notes

  • The file must appear in the creature's meshes folder.
  • The string must include the ".nif" extension and is case-insensitive.

See Also