08-03-2011, 01:17 PM
Im trying to get it to where when I use a ceremony on a body it will activate a key that is laying on top of the body(inactive).
My problem is that when I go to use the knife on the body it says something like"this item cannot be used in this way". How should I script this???
My script is something like this:
AddUseItemCallback("ceremony_knife", "ceremony_knife_1", "corpse_1", "cut_man_1", false);
void cut_man_1(string &in asItem, string &in asEntity)
{
SetEntityActive("key_1", true);
RemoveItem("ceremony_knife");
}
anyone please....
My problem is that when I go to use the knife on the body it says something like"this item cannot be used in this way". How should I script this???
My script is something like this:
AddUseItemCallback("ceremony_knife", "ceremony_knife_1", "corpse_1", "cut_man_1", false);
void cut_man_1(string &in asItem, string &in asEntity)
{
SetEntityActive("key_1", true);
RemoveItem("ceremony_knife");
}
anyone please....