(01-13-2011, 02:20 AM)Tottel Wrote: I had the exact same thing (which no one else seems to have). Load your custom map, press escape and change profile. Now return to game and press f1.
worked XD thanks i love you.!
NOW I HAVE A NEW PROBLEM!!!
Im trying to get a door to open with a key, but i wont...here is my script
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "key_1", "door_1" "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_1", false, true);
PlaySoundAtEntity("", "unlock_door", "door_1", 0.0f, false);
RemoveItem("key_1");
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
do i need to do something to the door in the map editor? i only have it set as locked and havnt played with the other stuff....
btw my door in games is named door_1 and the key is key_1
can someone please help me? im going to kill someone!
bump guys i really need help!!!