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!] Leveldoor...
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#2
RE: [HELP!] Leveldoor...

The only mistake, I can found is:

AddUseItemCallback("", "Key6", "LevelDoor", "UnlockLevelDoor", true);

This code must in an: void OnEnter() : line.
void OnEnter()
{
AddUseItemCallback("", "Key6", "LevelDoor", "UnlockLevelDoor", true);
}

And there is another one small mistake. Make sure, that you don't forget the .snt ending by a sound.

PlaySoundAtEntity("", "unlock_door.snt", "LevelDoor", 0.0f, false);

Good Luck!






(This post was last modified: 10-23-2011, 08:07 AM by Brute.)
10-23-2011, 08:06 AM
Find


Messages In This Thread
[HELP!] Leveldoor... - by sasukeroxxx - 10-23-2011, 07:38 AM
RE: [HELP!] Leveldoor... - by Brute - 10-23-2011, 08:06 AM
RE: [HELP!] Leveldoor... - by flamez3 - 10-23-2011, 12:12 PM
RE: [HELP!] Leveldoor... - by sasukeroxxx - 10-23-2011, 09:22 PM



Users browsing this thread: 1 Guest(s)