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
Problem
maitalr Offline
Junior Member

Posts: 16
Threads: 3
Joined: May 2012
Reputation: 0
#22
RE: Problem

(05-10-2012, 07:34 AM)DarkShadowz Wrote: dont worry about this dude, we all get stuck sometime. we'll get through it though, so dont worry ^^.


can you give me your current script?
By the way, every time when i have to edit the script i need to cut the file out of c folder, (cuz it wont let me edit it there), and then on desktop i'm edit it and then i put it back.
i'ts relevant?


/////////////////////////////////
// Run when entering map
void OnStart()
{
AddUseItemCallback("", "key_1", "Door_3", "KeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Door_3", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Door_3", 0, false);
RemoveItem("key_1");
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
(05-10-2012, 11:53 AM)Datguy5 Wrote: Darkshadowz is wrong.You dont need the .snt to the end of the unlock_door because mine works perfectly without it.
maybe in every computer its different. when i checked other scripts from other custom storys its different. (my computer probable just hates me)
05-10-2012, 12:35 PM
Find


Messages In This Thread
Problem - by maitalr - 05-08-2012, 02:10 PM
RE: Problem - by Cranky Old Man - 05-08-2012, 02:15 PM
RE: Problem - by darkadders - 05-08-2012, 02:32 PM
RE: Problem - by Traggey - 05-08-2012, 03:07 PM
RE: Problem - by maitalr - 05-08-2012, 03:16 PM
RE: Problem - by darkadders - 05-08-2012, 03:19 PM
RE: Problem - by maitalr - 05-08-2012, 03:31 PM
RE: Problem - by darkadders - 05-08-2012, 04:08 PM
RE: Problem - by Datguy5 - 05-08-2012, 04:26 PM
RE: Problem - by maitalr - 05-08-2012, 05:06 PM
RE: Problem - by darkadders - 05-08-2012, 05:44 PM
RE: Problem - by Cranky Old Man - 05-08-2012, 05:56 PM
RE: Problem - by maitalr - 05-09-2012, 12:55 PM
RE: Problem - by Cranky Old Man - 05-09-2012, 01:03 PM
RE: Problem - by maitalr - 05-09-2012, 09:25 PM
RE: Problem - by darkadders - 05-09-2012, 09:49 PM
RE: Problem - by maitalr - 05-09-2012, 10:54 PM
RE: Problem - by Your Computer - 05-09-2012, 11:54 PM
RE: Problem - by maitalr - 05-10-2012, 12:13 AM
RE: Problem - by darkadders - 05-10-2012, 07:34 AM
RE: Problem - by Datguy5 - 05-10-2012, 11:53 AM
RE: Problem - by maitalr - 05-10-2012, 12:35 PM
RE: Problem - by Adrianis - 05-10-2012, 02:38 PM
RE: Problem - by darkadders - 05-10-2012, 02:43 PM
RE: Problem - by Adrianis - 05-10-2012, 02:52 PM
RE: Problem - by Datguy5 - 05-10-2012, 01:29 PM
RE: Problem - by darkadders - 05-10-2012, 02:26 PM
RE: Problem - by maitalr - 05-10-2012, 03:22 PM
RE: Problem - by Adrianis - 05-10-2012, 03:31 PM
RE: Problem - by maitalr - 05-10-2012, 04:13 PM
RE: Problem - by Datguy5 - 05-10-2012, 03:36 PM
RE: Problem - by Adrianis - 05-10-2012, 03:44 PM
RE: Problem - by darkadders - 05-10-2012, 04:45 PM
RE: Problem - by maitalr - 05-10-2012, 07:14 PM
RE: Problem - by darkadders - 05-10-2012, 07:38 PM



Users browsing this thread: 10 Guest(s)