I tried what you did, with no luck... Now there is only the use script in the level where it is used
I looked in the engine scripts and in the:
Quote:GiveItem("", "glass_container_mix_done", "fiskeolie", "glass_container_mix_done.tga", 1);
I made the subItemType "fiskeolie" and that was what i used in the scripts... guess that was wrong...
i tried with "glass_container_mix_done" and made it look like this:
Quote:void OnStart ();
{
AddUseItemCallback("", "glass_container_mix_done", "gryde1", "UseItemOnArea", true);
}
void UseItemOnArea(string &in asItem, string &in asEntity)
{
SetEntityActive("Fiskeolie_static_1", true);
SetSwingDoorLocked("mansion_5", true, true);
StartPlayerLookAt("mansion_8", 10, 10, "");
AddTimer("", 0.3, "LookAtDoor_1");
RemoveItem("glass_container_mix_done ");
}
Still it doesnt work...
Trying is the first step to success.