neocrawler
Member
Posts: 57
Threads: 19
Joined: Sep 2011
Reputation:
1
|
AddCombine WTH it doesnt work :S
Why doesn't it remove the flasks?
void OnPickUpIngedient_4(string &in asEntity, string &in type)
{
AddLocalVarInt("Flask1", 1);
if (GetLocalVarInt("Flask1") == 4)
{
AddCombineCallback("", "flask01_cuprite_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_aqua_regia_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_calamine_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
AddCombineCallback("", "flask01_orpiment_1", "chemical_container_half_1", "UseFlaskOnContainer", true);
}
}
void UseFlaskOnContainer(string &in asItemA, string &in asItemB)
{
RemoveItem("flask01_cuprite_1");
RemoveItem("flask01_aqua_regia_1");
RemoveItem("flask01_calamine_1");
RemoveItem("flask01_orpiment_1");
}
(This post was last modified: 07-19-2012, 06:32 PM by neocrawler.)
|
|
07-19-2012, 06:25 PM |
|