CreatureHasModel
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns 1 if the creature's model-list includes the specified .nif file.
Syntax
(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.