ehovda321
Junior Member
Posts: 38
Threads: 22
Joined: Dec 2011
Reputation:
0
|
"GiveItem" does not stack items?
Here is my function:
GiveItem("battery", "item_battery.ent", "battery", "inventory_battery.tga", 1);
The function works, but when the number is ABOVE 1, then the items will not stack- they will appear separately in the inventory. Is there any way to solve this ? Thanks!
|
|
03-14-2013, 05:53 PM |
|
Adrianis
Senior Member
Posts: 620
Threads: 6
Joined: Feb 2012
Reputation:
27
|
RE: "GiveItem" does not stack items?
Hmm, is there any particular reason you want the player to get them through the script, and not pick them up from in the environment?
|
|
03-14-2013, 08:42 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: "GiveItem" does not stack items?
Whether picked up or given through a script, they shouldn't stack if they're not of an item type that are designed to stack.
|
|
03-14-2013, 08:47 PM |
|
ingedoom
Member
Posts: 120
Threads: 12
Joined: Feb 2012
Reputation:
0
|
RE: "GiveItem" does not stack items?
This is not something you can do through your .hps file. You need to snoop around in the .ent file of tinderboxes and eventually open it in model editor. But don't get your hopes up to soon. It shouldn't be easy.. If it's not stricktly neccesary that they stack, then don't let yourself be bothered with it for too long if you can't get it working.
|
|
03-15-2013, 02:46 PM |
|