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
Im here once again and once again need help ! (Amnesia Custom Story)
BesTCracK Offline
Member

Posts: 60
Threads: 14
Joined: Nov 2011
Reputation: 0
#7
RE: Im here once again and once again need help ! (Amnesia Custom Story)

I will say it to you like this for example we have got Oil , Blood potion : Blood potion I put to a chemistry thing ( vial or something ) then to it Oil = result new potion ( for example its name is Unfinished Potion )
then the Unfinished Potion I want to mix with ( lets say with a potion I found somewhere else for example Uncompleted Acid ) I want to mix Unfinished Potion with Uncompleted Acid by putting them into a extaction oven and when I put them in it will make new potion ( for example Acid ) and I will pick the Acid .

For this I want to do the script I posted you the script here but the only thing that doesnt work is that the last potion ( Acid ) doesnt appear Sad

void potion_func1(string &in asItem, string &in asEntity)
{
AddLocalVarInt("potionvar", 1);
PlaySoundAtEntity("", "impact_glass_high.snt", "Player", 0, false);
RemoveItem("Blood");
}
void potion_func2(string &in asItem, string &in asEntity)
{
AddLocalVarInt("potionvar", 1);
PlaySoundAtEntity("", "impact_glass_high.snt", "Player", 0, false);
RemoveItem("Oilpp");
func_on();
}
void potion_func3(string &in asItem, string &in asEntity)
{
AddLocalVarInt("potionvar", 1);
PlaySoundAtEntity("", "impact_glass_high.snt", "Player", 0, false);
RemoveItem("Mixurepot");
}
void potion_func4(string &in asItem, string &in asEntity)
{
AddLocalVarInt("potionvar", 1);
PlaySoundAtEntity("", "impact_glass_high.snt", "Player", 0, false);
RemoveItem("UAcid");
}
void func_on()
{
if(GetLocalVarInt("potionvar") == 2)
{
SetEntityActive("Mixurepot", true);
}
if(GetLocalVarInt("potionvar") == 4)
{
SetEntityActive("Acid", true);
}
}
(This post was last modified: 12-08-2011, 03:32 PM by BesTCracK.)
12-08-2011, 03:32 PM
Find


Messages In This Thread
RE: Im here once again and once again need help ! (Amnesia Custom Story) - by BesTCracK - 12-08-2011, 03:32 PM



Users browsing this thread: 1 Guest(s)