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
HELP MODDER!
albertoilmodder Offline
Junior Member

Posts: 29
Threads: 6
Joined: Aug 2013
Reputation: 0
#18
Sound Amnesia! Urgent!

Hello everyone Modder Amnesia, excuse my English, I'm Italian, I'm creating a mod and I have a problem, I wrote the script that is used to open a door with a crowbar, and I put a sound in the game but you do not hear, now I write the script below:

void OnStart ()
{
AddUseItemCallback ("", "spranga1", "porta6", "apridoor", true);
}

void apridoor (string & in item, string & in door)
{
    SetSwingDoorLocked ("porta6", false, true);
    PlaySoundAtEntity ("", "hit_wood2", "Player", 0, false);
    RemoveItem ("spranga1");
}

I did wrong, can you help me please?
Thanks in advance!
08-16-2013, 09:37 PM
Find


Messages In This Thread
HELP MODDER! - by albertoilmodder - 08-14-2013, 01:09 PM
RE: HELP MODDER! - by Slanderous - 08-14-2013, 01:17 PM
RE: HELP MODDER! - by albertoilmodder - 08-14-2013, 02:06 PM
RE: HELP MODDER! - by Traggey - 08-14-2013, 11:54 PM
RE: HELP MODDER! - by Artyom - 08-15-2013, 12:10 AM
RE: HELP MODDER! - by Daemian - 08-15-2013, 01:20 AM
RE: HELP MODDER! - by The chaser - 08-15-2013, 10:35 AM
RE: HELP MODDER! - by albertoilmodder - 08-15-2013, 12:34 PM
RE: HELP MODDER! - by Adrianis - 08-15-2013, 12:47 PM
RE: HELP MODDER! - by The chaser - 08-15-2013, 08:23 PM
RE: HELP MODDER! - by albertoilmodder - 08-15-2013, 08:01 PM
RE: HELP MODDER! - by Adrianis - 08-16-2013, 01:23 AM
RE: HELP MODDER! - by plutomaniac - 08-16-2013, 09:52 PM
RE: HELP MODDER! - by albertoilmodder - 08-16-2013, 10:10 PM
RE: HELP MODDER! - by albertoilmodder - 08-17-2013, 09:35 AM
RE: HELP MODDER! - by The chaser - 08-17-2013, 11:03 AM
RE: HELP MODDER! - by albertoilmodder - 08-17-2013, 11:49 AM
RE: HELP MODDER! - by albertoilmodder - 08-19-2013, 03:32 PM
RE: HELP MODDER! - by The chaser - 08-19-2013, 04:17 PM
RE: HELP MODDER! - by albertoilmodder - 08-20-2013, 06:54 PM
RE: HELP MODDER! - by The chaser - 08-21-2013, 07:24 AM
RE: HELP MODDER! - by albertoilmodder - 08-21-2013, 12:22 PM
RE: HELP MODDER! - by Traggey - 08-21-2013, 12:43 PM
Script Amnesia - by albertoilmodder - 08-15-2013, 07:46 PM
RE: Script Amnesia - by The chaser - 08-15-2013, 08:13 PM
RE: Script Amnesia - by albertoilmodder - 08-15-2013, 08:22 PM
RE: Script Amnesia - by FlawlessHappiness - 08-16-2013, 08:42 PM
RE: Script Amnesia - by albertoilmodder - 08-16-2013, 09:29 PM
Sound Amnesia! Urgent! - by albertoilmodder - 08-16-2013, 09:37 PM
RE: HELP MODDER! - by The chaser - 08-16-2013, 11:24 PM
RE: HELP MODDER! - by Slanderous - 08-17-2013, 10:29 AM



Users browsing this thread: 3 Guest(s)