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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Combinations?
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#1
Combinations?

Hey guys, just started working with combinations.

Is this correct?(To combine TetrodotoxinItem with HalfDone and get a chemical_container_epoxy.ent[wich i will rename when the script is correct])

void OnStart()
{

AddCombineCallback("MixtureCombination", "HalfDone", "TetrodotoxinItem", "CompleteMix", true);
}

void CompleteMix(string &in asItemA, string &in asItemB)
{
RemoveItem("TetrodotoxinItem");
RemoveItem("HalfDone");
GiveItem("CompleteMix", "chemical_container_epoxy.ent", "ReversalSyrum", "chemical_container_epoxy.tga", 1);
}

P.S. Its not working...

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 01-30-2012, 08:18 AM by Tripication.)
01-30-2012, 08:17 AM
Find


Messages In This Thread
Combinations? - by Tripication - 01-30-2012, 08:17 AM
RE: Combinations? - by Tripication - 01-30-2012, 09:49 AM
RE: Combinations? - by Tripication - 01-30-2012, 11:38 AM
RE: Combinations? - by Your Computer - 01-30-2012, 08:43 PM
RE: Combinations? - by Tripication - 01-30-2012, 10:38 PM
RE: Combinations? - by palistov - 01-31-2012, 12:01 AM



Users browsing this thread: 1 Guest(s)