Author Topic: getItem from WeaponImage?  (Read 1082 times)

I want to find the item image from a weapon image.


image.item?

Typically, weapon makers do not set this attribute correctly.

For example, gunImage.item is set to to bowItem.

Typically, weapon makers do not set this attribute correctly.

For example, gunImage.item is set to to bowItem.
Omg
Why

Then you must loop through DatablockGroup and check figure out which item belongs to which image, set the item field correctly
And then you can use image.item :D

Typically, weapon makers do not set this attribute correctly.

For example, gunImage.item is set to to bowItem.
Right.

Right.
Thing is though, most add-on makers are clever, and probably used the correct corresponding item.

My question to you is where are you getting the image from?
like what is giving you the image that you need the item for?

I think you can assume that ImageData.item is the correct ItemData. If it's not, then that mod should be reported and fixed.

I think you can assume that ImageData.item is the correct ItemData. If it's not, then that mod should be reported and fixed.
report gun

oboi


edit:
For example, gunImage.item is set to to bowItem.
Just saw this, nvm..
« Last Edit: June 04, 2013, 02:04:00 AM by Honorabl3 »

Thing is though, most add-on makers are clever, and probably used the correct corresponding item.

My question to you is where are you getting the image from?
like what is giving you the image that you need the item for?
I'm making a work around to steal a bot's gun.