Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HPS error (level editing)
Author Message
mrscoomich Offline
Member

Posts: 55
Joined: Mar 2012
Reputation: 0
Post: #11
RE: HPS error (level editing)
No :\ Still nothing.
03-21-2012 10:45 PM
Find all posts by this user Quote this message in a reply
DaAinGame Offline
Member

Posts: 91
Joined: Mar 2012
Reputation: 4
Post: #12
RE: HPS error (level editing)
void UsedKeyOnDoor(string &in asItem, string &in asEntity)

{

SetSwingDoorLocked("mansion_1", false, true);

PlaySoundAtEntity("", "unlock_door.snt", "mansion_1", 0, false);

RemoveItem("key_1");

}

This didn't work for you? Hm.... Everything in that code looks fine to me. No missing " or ; You said that everything works except for the sound playing correct? If so, did you mess with that sound file? Moved it or anything? If you didn't try using "unlock_door.ogg" .snt should've worked but I don't know what else you could try =/. I would say that names didn't match up, but if the door still unlocks that wouldn't be the case

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
(This post was last modified: 03-21-2012 11:01 PM by DaAinGame.)
03-21-2012 11:00 PM
Find all posts by this user Quote this message in a reply
mrscoomich Offline
Member

Posts: 55
Joined: Mar 2012
Reputation: 0
Post: #13
RE: HPS error (level editing)
Oh, alright. It worked Smile

I put "unlocked_door.snt" instead of "unlock_door.snt"

Thank you so much! =D I appreciate it.
03-21-2012 11:06 PM
Find all posts by this user Quote this message in a reply
DaAinGame Offline
Member

Posts: 91
Joined: Mar 2012
Reputation: 4
Post: #14
RE: HPS error (level editing)
Good to hear! Feel free to message me if you have any more questions, I'm always available to help to the best of my abilities.

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
03-21-2012 11:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)