logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Is there a function to test if model number is viable?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
Sir Vendel



Joined: 19 Dec 2015
Posts: 7

PostPosted: Mon Dec 28, 2015 7:53    Post subject: Is there a function to test if model number is viable? Reply with quote

I make some scripts altering PCs appearance, and customizing item appearances.
After using the SetCreatureBodyPart(CREATURE_PART_HEAD,x) part for, e.g. head for a creature, I would really like a function that could tell me (TRUE/FALSE) whether part x is a real model, or if my PC now is headless.
Is there anything like this already existing? Or could someone undertake to add the function to nwnx_funcs?
Similarily, upon using CopyItemAndModify() to, say set a shield appearance to 139, is there a function that could tell me whether #139 is a viable model, or if the shield just disappeared?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group