Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] How to unlock door with a Wheel ?
olrik666 Offline
Junior Member

Posts: 7
Threads: 2
Joined: Oct 2014
Reputation: 0
#3
RE: How to unlock door with a Wheel ?

I don't understand :/



My script :

void OnStart()
{
PreloadSound("17_steam.snt");
PreloadSound("unlock_door.snt");
SetLocalVarInt("Valve_iron1", 0);
}

void OnLeave()

{
SetupLoadScreen("Loading", "LoadScreen1", 0, "LoadScreenImage1.png");
}
/////////Interact

void unlockdoor(string &in asEntity, int alState)

{

if(alState == 1)

{
SetLevelDoorLocked("door_complex1", false);
PlaySoundAtEntity("", "unlock_door.snt", "door_complex1", 0, false);
PlaySoundAtEntity("", "17_steam.snt", "barrier", 0, false);

}


}

(This post was last modified: 10-24-2014, 08:49 PM by olrik666.)
10-24-2014, 08:39 PM
Website Find


Messages In This Thread
RE: How to unlock door with a Wheel ? - by olrik666 - 10-24-2014, 08:39 PM



Users browsing this thread: 1 Guest(s)