Frictional Games Forum (read-only)

Full Version: CogWheels LevelEditor, scripts and chemicals Acid and Puzzle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry for my bad English but I'm Italian I need some help from Scripting & editing for cogwheels and cogwheels machine, and chemical sour (simple way) And LevelEditor it doesnt place the entities in the map. What is wrong? I give you my hpl.log for exmine this.
And I've got a problem to combine hammer and chiper
my Facebook:https://www.facebook.com/davide.casati2

inventory.hps:




void OnGameStart()
{
AddCombineCallback("hammerandchiper", "hammer", "chiper", "combine_01", true);
}
void combine01(string &in asItemA, string &in asItemB)
{
PlayGuiSound("", "12_make_drill", 0);
RemoveItem(asItemA); RemoveItem(asItemB);
GiveItem("stone_hammer_chipper", "Puzzle", "stone_hammer_chipper", "stone_hammer_chipper.tga", 0);
GiveSanityBoostSmall();
//what is wrong?
}
What you mean the editor doesn't place entities?
And what's the problem with the combine callback?