bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

Getting error when adding item to pick up #202

Closed bsimser closed 8 years ago

bsimser commented 8 years ago

Original report by Ulric (Bitbucket: Xiaogou888, ).


Here is a screen shot with error listed. I missed something. I was wondering if a PDF guide will be coming out anytime soon?2016-02-24.png

bsimser commented 8 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


There's this error because you have triggers in your scene, yet no player; So the distance checking fails. No PDF documentation on it's way, however there is written documentation over at: http://devdog.nl/product/inventory-pro

bsimser commented 8 years ago

Original comment by Ulric (Bitbucket: Xiaogou888, ).


I moved the camera to chase view. Ethan was there. I can move Ethan. I added object, but when I mouse over the object the error appeared. IThere is either something that is not supposed to be there or I placed the piece of code in the wrong placescene.png

bsimser commented 8 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Does your ethan object have the InventoryPlayer component attached? This is required.

bsimser commented 8 years ago

Original comment by Ulric (Bitbucket: Xiaogou888, ).


probably not. please walk me through what script needs to be added to make this work.

bsimser commented 8 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


There's a video tutorial at: https://www.youtube.com/watch?v=kWeXmVIgqO4 Some UI elements are visualized differently, but naming conventions are still the same.

bsimser commented 8 years ago

Original comment by Ulric (Bitbucket: Xiaogou888, ).


I had to reload the prefab character and follow the tutorial exactly. In bubbling around with my practice Ethan I must have corrupted the code and caused the failure. So I guess the solution for this is to reload the base prefab and start all over.