Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help CogWheels LevelEditor, scripts and chemicals Acid and Puzzle
FGFan Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jan 2014
Reputation: 0
#1
CogWheels LevelEditor, scripts and chemicals Acid and Puzzle

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?
}


Attached Files
.log   LevelEditor.log (Size: 5.52 KB / Downloads: 73)
01-09-2014, 12:30 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: CogWheels LevelEditor, scripts and chemicals Acid and Puzzle

What you mean the editor doesn't place entities?
And what's the problem with the combine callback?

01-09-2014, 03:06 PM
Find




Users browsing this thread: 1 Guest(s)