This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
sandeagle
1,
i found this ai function:
int CNPC::GetInventoryInfo(CSharedCreatureData *spCreature, InventoryParamType param)
whats this function means?
it will return the inventory number?or other something?
2,
this GetInventoryInfo function was added in C4...i dont find it in C1..
so if i wanna to convert it for C1,how could i do? maybe use other function replace it?
whtas this c4 ai nasc codez means:
if( (myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 )) || (myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 )) ) { myself::ShowSystemMessage(talker,1118); return; }Edited by sandeagle4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now