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
Script
LolMak Offline
Junior Member

Posts: 9
Threads: 4
Joined: Feb 2012
Reputation: 0
#1
Script

Hello guys, i need help with my inventory hps. I need combine item, two item, I wrote this script:///////////////////////////////////
////////////COMBINATIONS///////////
///////////////////////////////////

void Oleniym(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
GiveItem("Oleniym", "chemical", "Oleniym", "hollow_needle.tga", 1);
}

////////////////////////////
// Run at the start of the game.
void OnGameStart()
{

/////COMBOS/////
AddCombineCallback("Water_Acrid", ""chemical_container_1", "chemical_container_epoxy_1", "Water_Acrid", true);
}
But it does not work. Please tell me my mistake.
05-24-2012, 12:35 PM
Find
wolfmaster1231 Offline
Member

Posts: 132
Threads: 43
Joined: May 2012
Reputation: 2
#2
RE: Script

instead of chemical use puzzle on GiveItem("Oleniym", "chemical", "Oleniym", "hollow_needle.tga", 1);
(This post was last modified: 05-24-2012, 01:23 PM by wolfmaster1231.)
05-24-2012, 01:17 PM
Find
LolMak Offline
Junior Member

Posts: 9
Threads: 4
Joined: Feb 2012
Reputation: 0
#3
RE: Script

Thanks dude
05-24-2012, 01:24 PM
Find
wolfmaster1231 Offline
Member

Posts: 132
Threads: 43
Joined: May 2012
Reputation: 2
#4
RE: Script

that thing is type specific and hey np Smile
05-24-2012, 01:26 PM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#5
RE: Script

Edit: Never mind.

Noob scripting tutorial: From Noob to Pro

(This post was last modified: 05-24-2012, 03:33 PM by Cranky Old Man.)
05-24-2012, 01:54 PM
Find




Users browsing this thread: 2 Guest(s)