Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I REALLY NEED HELP!!!
JarrodTheBobo Offline
Member

Posts: 63
Threads: 2
Joined: Jan 2011
Reputation: 3
#5
RE: I REALLY NEED HELP!!!

(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!!!
(This post was last modified: 01-13-2011, 03:16 AM by JarrodTheBobo.)
01-13-2011, 02:30 AM
Find


Messages In This Thread
I REALLY NEED HELP!!! - by JarrodTheBobo - 01-12-2011, 09:18 PM
RE: I REALLY NEED HELP!!! - by Tottel - 01-12-2011, 09:23 PM
RE: I REALLY NEED HELP!!! - by JarrodTheBobo - 01-13-2011, 01:42 AM
RE: I REALLY NEED HELP!!! - by Tottel - 01-13-2011, 02:20 AM
RE: I REALLY NEED HELP!!! - by JarrodTheBobo - 01-13-2011, 02:30 AM
RE: I REALLY NEED HELP!!! - by Frontcannon - 01-13-2011, 02:50 PM



Users browsing this thread: 1 Guest(s)