CreatureHasModel
Revision as of 18:36, 7 June 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns 1 if the creature's model-list includes the specified .nif file. |name = CreatureHasModel |returnType = hasModel:0/1 |referenc...")
< [[::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
(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.