Do I remove all the voids? Or the first one? I tried both, but no change...
Edit: OK, so... I have this code:
Quote:void OnStart()
{
AddUseItemCallback("crowbar_1", "crowbar_1", "door_1", "AttatchCrowbar", true);
AddEntityCollideCallback("crowbar_joint", "AreaOpenDoor", "OpenDoor", true, 1);
}
void AttatchCrowbar(string &in asItem, string &in asEntity)
{
SetEntityActive("crowbar_joint", true);
RemoveItem(asItem);
}
void OpenDoor(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("crowbar_joint", false);
SetSwingDoorLocked("door_1", false, false);
}
Crowbar is activated and crowbar_joint isn't. Door is named door_1... Doesn't work?
Creeps, creeps everywhere...