Muusa Posted December 12, 2009 Share Posted December 12, 2009 I have a problem with my mod. If i give item directly to players inv it works just great and gives Codex right away but on second version where you need to buy item it still gives codex entry right away after i load game even i havent bought the item yet. I have tried and tried but i just cant get it right. I am using: if ( WR_GetPlotFlag( PLT_PLOT2, MY_FLAG ) == TRUE ) return; and later on code WR_SetPlotFlag( PLT_PLOT2, MY_FLAG, TRUE ); I can completely remove "if ( WR_GetPlotFlag( PLT_PLOT2, MY_FLAG ) == TRUE )" whitout eny effect, but if i set it to false whole mod aint wroking.If i set "WR_SetPlotFlag( PLT_PLOT2, MY_FLAG, TRUE );" to FALSE it doesnt give Codex entry when i load the game...mod works but it doesnt give codex entry even when i buy the item from vendor. What am I doing wrong? In short: As it is codex entry pops ups after i load the game. It shoud load when I buy the item. Link to comment Share on other sites More sharing options...
Muusa Posted December 13, 2009 Author Share Posted December 13, 2009 No one knows?=( Link to comment Share on other sites More sharing options...
Alexspeed Posted December 13, 2009 Share Posted December 13, 2009 I am sorry i wish i could help you but my modding skills are near to none, all i can come up with would be this tutorial: -- Wrong link, see post 5 for the right one -- http://thenexusforums.com/index.php?showtopic=163527 maybe that can help you?I hope someone more experienced with modding has a solution for you =) Link to comment Share on other sites More sharing options...
Muusa Posted December 13, 2009 Author Share Posted December 13, 2009 Thank you, but are you sure you did gave right link? There is speaking about maximum party size, I find it interesting indeed but still not what im looking for=) Link to comment Share on other sites More sharing options...
Alexspeed Posted December 13, 2009 Share Posted December 13, 2009 damnit lol, that was indeed a wrong link, sorry that, heres the one i meant to post: http://social.bioware.com/78720/blog/882/ Link to comment Share on other sites More sharing options...
Muusa Posted December 13, 2009 Author Share Posted December 13, 2009 Thank you=)That is nearly there, if I only could understand what Gralamin means with:"Do note, this does not work if you want to be able to find or buy the item. INVENTORY_ADDED is not sent to the core script. To fix this, make the custom item variable ITEM_SEND_ACQUIRED_EVENT = 1, and use CAMPAIGN_ITEM_ACQUIRED. Otherwise, good work." Link to comment Share on other sites More sharing options...
Muusa Posted December 15, 2009 Author Share Posted December 15, 2009 Does enybody know how to use "EVENT_TYPE_CAMPAING_ITEM_ACQUIRED" on script? Link to comment Share on other sites More sharing options...
Recommended Posts