03-06-2013, 12:57 AM
I'm having trouble in the scripting for amnesia. I have an orbpiece and a stone chipper that I want to combine in the inventory to make a stone hammer. Im using the addcombinecallback but I'm not sure what the internal names are for the orbpiece and the stone chipper.
void OnStart()
{
AddCombineCallback("", "stone_chipper", "orbpiece_crimson", "awesome", true);
}
void awesome(string &in asItemA, string &in asItemB)
{
GiveItemFromFile("stonehammer", "stone_hammer.ent");
}
What am I doing wrong?
void OnStart()
{
AddCombineCallback("", "stone_chipper", "orbpiece_crimson", "awesome", true);
}
void awesome(string &in asItemA, string &in asItemB)
{
GiveItemFromFile("stonehammer", "stone_hammer.ent");
}
What am I doing wrong?