Item & Inventory System integration

Announcements, support questions, and discussion for Quest Machine.
Post Reply
0ktun
Posts: 7
Joined: Mon Oct 12, 2020 8:08 am

Item & Inventory System integration

Post by 0ktun »

hi again, i want to use this asset Item & Inventory System in my project as i see it's the new version of "Inventory pro" since the last one is not supported anymore!
So can i integrate it in with quest machine ?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Item & Inventory System integration

Post by Tony Li »

Sure! Make custom conditions and actions for it by duplicating the starter scripts in Plugins / Pixel Crushers / Quest Machine / Templates. The scripts have comments that explain where to put your code. Your conditions and actions will appear in the Quest Machine editor menus just like the built-in conditions and actions.

If you want tips on creating your conditions and actions, you can examine how the Inventory Pro, Inventory Engine, and Ultimate Inventory System integrations implement their conditions and actions.
0ktun
Posts: 7
Joined: Mon Oct 12, 2020 8:08 am

Re: Item & Inventory System integration

Post by 0ktun »

Tony Li wrote: Fri Oct 23, 2020 9:34 am
If you want tips on creating your conditions and actions, you can examine how the Inventory Pro, Inventory Engine, and Ultimate Inventory System integrations implement their conditions and actions.
where can i get those types ? can you give a document
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Item & Inventory System integration

Post by Tony Li »

Hi,

I'm not sure what you mean by tips.

I suggested importing the Inventory Pro, Inventory Engine, and/or Ultimate Inventory System integrations to look at how they work. The scripts won't compile because your project won't have the asset, but you can still examine the code. Then you can delete the scripts and write your own for Item & Inventory System using the instructions I provided above.
Post Reply