Page 1 of 1

How to give items to world with ARISjs?

Posted: Sat Oct 27, 2018 7:27 pm
by draymonddarksteel
It seems like it should be such a simple question, but I've been banging my head against my computer for hours now trying to figure it out. Please help!

Re: How to give items to world with ARISjs?

Posted: Fri Feb 08, 2019 5:43 pm
by chrish
I’ve not actually done this before but I went sleuthing in our documentation and think I found it. The functions are almost what you’d guess. Maybe we should have called them game items instead of world items?

_ARIS.giveGameItemCount = function(item_id,qty)

If found this in the actual ARIS.js page on GitHub. There are lists of functions in the other documentation, but this looks like the most complete and authoritative place.

https://github.com/ARISGames/ARISjsExamples/blob/master/arisjs.js

Sorry for the delay. I've had this waiting to go but been unable to post for a while.