Frictional Games Forum (read-only)
[SCRIPT] Having trouble combining items - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Having trouble combining items (/thread-20734.html)



Having trouble combining items - PixelHurricane - 03-14-2013

what I am trying to do is have the hammer and stone chipper (Long piece of metal) combine to create a crowbar. trouble is, i used the Giveitem function to obtain the chipper and I can't find out what to name it so the combination works. (stone_chipper, stone_chipper_1, Long piece of metal, Long_piece of metal, etc.)


RE: Having trouble combining items - NaxEla - 03-14-2013

The name for the chipper will be the internal name that you gave it when you used GiveItem.

GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);


RE: Having trouble combining items - PixelHurricane - 03-14-2013

thanks