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
More Newbie problems..
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#5
RE: More Newbie problems..

Hi again Smile
Found your problem:
look at the PlaySoundAtEntity functions inside UsedKeyOnDoor. You misplaced asEntity, and missed the soundfile. Try this:
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundatEntity("", yoursoundhere.snt, asEntity, 0, false);
}
Also, ShowEnemyPlayerPosition has a different name(missing 1) than the others, Idk if you intended that.

Edit: Nevermind, got ninja'd. Maybe replace the callbacks to OnStart()?
(This post was last modified: 06-19-2012, 03:28 PM by Cruzore.)
06-19-2012, 03:27 PM
Find


Messages In This Thread
More Newbie problems.. - by The Shanus - 06-19-2012, 03:01 PM
RE: More Newbie problems.. - by Datguy5 - 06-19-2012, 03:15 PM
RE: More Newbie problems.. - by Obliviator27 - 06-19-2012, 03:22 PM
RE: More Newbie problems.. - by The Shanus - 06-19-2012, 03:25 PM
RE: More Newbie problems.. - by Cruzore - 06-19-2012, 03:27 PM
RE: More Newbie problems.. - by The Shanus - 06-19-2012, 03:29 PM
RE: More Newbie problems.. - by Stepper321 - 06-19-2012, 06:18 PM
RE: More Newbie problems.. - by The Shanus - 06-19-2012, 07:24 PM



Users browsing this thread: 3 Guest(s)