Is there a way that we can add items to a store inventory with a conversation script?
I don’t think that would be a problem. Just do a script similar to this and put it on a node in the conversation.
void main()
{
object oStore = GetObjectByTag("storetag");
CreateItemOnObject("itemtag",oStore,1,"itemtag",FALSE);
}
Or, if you use a SpeakTrigger and want it to be added right away when the conversation starts you could always do a new version of the gtr_speak_node script and add this kind code in there.
1 Like