Development > Coding
How to loop trough (owned) inventory-items.
Hoehrer:
Yet again a questiona bout finding data.
What i need a list/loop of all items (objDef_t) that are owend by me (in base/on soldiers). What i don't need: A list of all possible items .. this i already know ;)
I hope s/b can help me again.
Thanks,
Werner
Mattn:
we have no inventory in bases - just a global inventory...
Hoehrer:
--- Quote from: "Mattn" ---we have no inventory in bases - just a global inventory...
--- End quote ---
And how(where) is determined what i own (and how many of it) and what not?
Thanks,
Werner
Mattn:
ccs.eCampaign and ccs.eMarket
both contains a int var num
Hoehrer:
--- Quote from: "Mattn" ---ccs.eCampaign and ccs.eMarket
both contains a int var num
--- End quote ---
Ah. perfect. Many thanks for the fast answer :D
Werner
Navigation
[0] Message Index
[#] Next page
Go to full version