12-31-2011, 12:20 AM
12-31-2011, 12:45 AM
In the inventory.hps, add callbacks for each part to be combined with the other 2 parts. You should have 3 total. Place the AddCombineCallback functions under OnGameStart()
Combos:
1 + 2
1 + 3
2 + 3
I'm pretty sure when you script a combination, it applies both ways (using the first on the second works when using the second on the first)
Make each callback call the same function, under which you remove all 3 of the items and give the player the completed item. The appropriate script functions can be found here: http://wiki.frictionalgames.com/hpl2/amn...#inventory
Combos:
1 + 2
1 + 3
2 + 3
I'm pretty sure when you script a combination, it applies both ways (using the first on the second works when using the second on the first)
Make each callback call the same function, under which you remove all 3 of the items and give the player the completed item. The appropriate script functions can be found here: http://wiki.frictionalgames.com/hpl2/amn...#inventory