Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Safety Gates and Combination
Author Message
Alento Offline
Member

Posts: 64
Joined: Jan 2012
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)