04-03-2011, 09:33 PM
void OnStart()
{
AddEntityCollideCallback("Player" , "room_1" , "script_1" , true , 0);
}
void script_1(string &in asParent , string &in asChild , int alState)
{
SetSwingDoorClosed("closet_1", false, false);
SetSwingDoorDisableAutoClose("closet_1", true);
}
Why wont the closet door open when i step up to it?Ive been trying to do this for 2 days and I cant get it why?
{
AddEntityCollideCallback("Player" , "room_1" , "script_1" , true , 0);
}
void script_1(string &in asParent , string &in asChild , int alState)
{
SetSwingDoorClosed("closet_1", false, false);
SetSwingDoorDisableAutoClose("closet_1", true);
}
Why wont the closet door open when i step up to it?Ive been trying to do this for 2 days and I cant get it why?