Quote:SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
has to be like this :
SetSwingDoorClosed("""Name of your door", true or false, true or false);
void Bathroomdoor(string &in asEntity) { if(GetSwingDoorLocked(asEntity) == true) { //DO SOMETHING HERE/ Put your script here. Only when touching the door and have (Bathroomdoor) set in your leveleditor as PlayerInteractCallBack. } }
Okey, I fixed that, I dont get the error messages anymore, now there's another problem.. When I enter the defined area (e.g script area) it doesn't run anything.. I checked the names, and everything was correct..