The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia Scripting Help!
lawerancerivera Offline
Junior Member

Posts: 3
Threads: 1
Joined: Mar 2013
Reputation: 0
#1
Amnesia Scripting Help!

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?
(This post was last modified: 03-06-2013, 12:59 AM by lawerancerivera.)
03-06-2013, 12:57 AM
Find


Messages In This Thread
Amnesia Scripting Help! - by lawerancerivera - 03-06-2013, 12:57 AM
RE: Amnesia Scripting Help! - by NaxEla - 03-06-2013, 03:49 AM
RE: Amnesia Scripting Help! - by lawerancerivera - 03-06-2013, 04:18 AM



Users browsing this thread: 1 Guest(s)