... but i cant get it to work!
The deal is that you are suppose to get a key in you inventory when you have stabbed it.
When i try to use the dagger at the pig it says something like: "cannot use item this way".
Here is my script for it:
void OnStart()
{
AddEntityCollideCallback("ceremony_knife_1", "pig_corpse_1", "pig_stab", "true", 1);
}
void pig_stab(string &in asParent, string &in asChild, int alState)
{
GiveItem("Player", "key_torture_chamber_1", "key_torture_chamber_1", "key_torture_chamber_1.tga", 1);
GiveSanityBoostSmall();
}
Can someone help me?!
Thanks!