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 Combind custom items
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#5
RE: Combind custom items

(05-13-2012, 08:48 AM)SilentStriker Wrote: http://www.frictionalgames.com/forum/thr...ht=Combine
Hmm don't really get the full script file :S

"///////////////////////////////////

////////////COMBINATIONS///////////

///////////////////////////////////



void AquaRegia(string &in asItemA, string &in asItemB)

{

RemoveItem(asItemA); RemoveItem(asItemB);

PlayGuiSound("15_make_hammer", 1.0f);

GiveItem("flask01_aqua_regia", "flask01_aqua_regia", "aqua_regia", "flask01_aqua_regia.tga", 1);

}



void AuricHydro(string &in asItemA, string &in asItemB)

{

RemoveItem(asItemA); RemoveItem(asItemB);

PlayGuiSound("15_make_hammer", 1.0f);

GiveItem("flask01_orpiment", "flask01_orpiment", "auric_hydroxide", "flask01_orpiment.tga", 1);

}



////////////////////////////

// Run at the start of the game.

void OnGameStart()

{



/////COMBOS/////

AddCombineCallback("", "chemical_container_1", "vitriol", "AquaRegia", true);

AddCombineCallback("", "flask01_aqua_regia", "ammonia", "AuricHydro", true);

}"

Can you explain that litle more? Smile
Like this "AddCombineCallback("", "ItemA", "ItemB", "func ", true); etc ???

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
05-14-2012, 03:03 PM
Find


Messages In This Thread
Combind custom items - by SilentHideButFine - 05-12-2012, 07:18 PM
RE: Combind custom items - by SilentStriker - 05-12-2012, 08:20 PM
RE: Combind custom items - by SilentHideButFine - 05-13-2012, 01:53 AM
RE: Combind custom items - by SilentStriker - 05-13-2012, 08:48 AM
RE: Combind custom items - by SilentHideButFine - 05-14-2012, 03:03 PM
RE: Combind custom items - by SilentStriker - 05-14-2012, 03:10 PM
RE: Combind custom items - by SilentHideButFine - 05-14-2012, 03:14 PM
RE: Combind custom items - by SilentStriker - 05-14-2012, 03:32 PM



Users browsing this thread: 1 Guest(s)