- Joined
- Nov 29, 2015
- Messages
- 6
- Reaction score
- 0
- First Language
- English
I've looked through the forum and I haven't seen anything on this. So here's the issue I have a Dialog box to report what item was just found. I can't figure out how to put my screen shot on here so I'll just type it.
set startingvar = number of item in inventory(we'll say this is 0 for the example)
change item + 1
Set newtotalvar = number of item in inventory(this should be 1 )
if startingvar not equal to 0
newtotalvar = newtotalvar -startingvar
end
Text:
\v[ newtotalvarnumbe] item was found ! (this works and reports a 1 as the var value)
So what's the issue?
If I use the number of a armor or weapon I get a value of 0 every time. It's not setting the value to anything.
set startingvar = number of item in inventory(we'll say this is 0 for the example)
change item + 1
Set newtotalvar = number of item in inventory(this should be 1 )
if startingvar not equal to 0
newtotalvar = newtotalvar -startingvar
end
Text:
\v[ newtotalvarnumbe] item was found ! (this works and reports a 1 as the var value)
So what's the issue?
If I use the number of a armor or weapon I get a value of 0 every time. It's not setting the value to anything.

