ModelHasBlock
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns whether the 3D model of the specified object (which may be either a base form, or a reference) has a block with a name matching (case-sensitive) the specified formatted string.
This includes any NiNodes that were inserted to the object using InsertNode.
Syntax
(hasBlock:0/1) ModelHasBlock object:form blockName:formattedString formatVars(up to 20)
Example
set bHasBlock to ModelHasBlock PlayerRef "ProjectileNode"
set bHasBlock to ModelHasBlock WeapNVServiceRifle "##CockingMech"