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
Safety Gates and Combination
Alento Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2012
Reputation: 0
#5
RE: Safety Gates and Combination

(02-26-2012, 07:14 PM)SilentStriker Wrote: That's another problem though it's cinematics and some skills. Check deterioration's scripts it has a drill animation Smile
Okey , thank you! Smile

but, I tried the Combination with and Inventory.hps, but it sin't work :/

Script:


void OnStart()
{

AddCombineCallback("drill1", "drill2", "drill3", "HandDrill", true);
}

void HandDrill(string &in asItemA, string &in asItemB)
{
RemoveItem("drill1");
RemoveItem("drill2");
RemoveItem("drill3");
GiveItem("HandDrill", "hand_drill.ent", "HandDrill", "", 1);
}
(02-26-2012, 07:25 PM)Alento Wrote:
(02-26-2012, 07:14 PM)SilentStriker Wrote: That's another problem though it's cinematics and some skills. Check deterioration's scripts it has a drill animation Smile
Okey , thank you! Smile

but, I tried the Combination with and Inventory.hps, but it sin't work :/

Script:


void OnStart()
{

AddCombineCallback("drill1", "drill2", "drill3", "HandDrill", true);
}

void HandDrill(string &in asItemA, string &in asItemB)
{
RemoveItem("drill1");
RemoveItem("drill2");
RemoveItem("drill3");
GiveItem("HandDrill", "hand_drill.ent", "HandDrill", "", 1);
}
hm.. probably add an "asItemC" ?


---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
(This post was last modified: 02-26-2012, 07:25 PM by Alento.)
02-26-2012, 07:25 PM
Find


Messages In This Thread
Safety Gates and Combination - by Alento - 02-26-2012, 06:32 PM
RE: Safety Gates and Combination - by Alento - 02-26-2012, 07:08 PM
RE: Safety Gates and Combination - by Alento - 02-26-2012, 07:25 PM
RE: Safety Gates and Combination - by Alento - 02-26-2012, 08:00 PM



Users browsing this thread: 2 Guest(s)