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 
 
Accessing elements in Equip_ItemList

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Iesu



Joined: 03 Sep 2005
Posts: 1

PostPosted: Sat Sep 03, 2005 13:44    Post subject: Accessing elements in Equip_ItemList Reply with quote

My basic desire is to be able to change the items in a creature's inventory slot without having to force the creature to equip the item. Ordinarily this would be a pointless function, as you can simply destroy the item and then force the creature to equip the new item.
Unfortunately the creatures I need to change the items on are dead...This makes them rather reluctant to equip items. The functionality I want is for a custom death system I have created and am in the process of expanding.
Almost all my research for this is based on Dazzle's SetBodyPart function as it seems to me to be the closest thing to what I am trying to do.
So I need to know the following:
A: Are equipped items stored in the same manner as BodyParts? ie. If I change them in memory will I immediately see the change in-game?
B: If it can be done, can someone give me a few pointers on the offset I need to use to access the slots?
C: Are there any bored genius' out there that would like to do this for me?I'm a total newbie to this type of programming. I could probably figure it out with a few pointers, but if someone could take the time to do it for me it would be much appreciated...
_________________
Alea iacta est - "The die is cast"
-Gaius Julius Caesar
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 development 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