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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Levers
Angerpull Offline
Member

Posts: 88
Threads: 24
Joined: Jun 2011
Reputation: 0
#13
RE: Levers

(07-27-2011, 10:14 PM)Roenlond Wrote: void OnStart()
{
SetEntityConnectionStateChangeCallback("Slaver_Lever", "Lever_Slaver");
}
void Lever_Slaver(string &in asEntity, int alState)
{
if (alState == 1)
{
SetSwingDoorLocked("Slaver_Lever_Door", false, true);
AddDebugMessage("Door should unlock", false);
}
}

turn on debug messages and see if that message appears. If it does, the lever is fine but the door is misspelled or something somehow.

No it doesn't work, and IDK what you meant about debug stuff, so I'll just skip that. Is there something I have to do with the lever? It starts at the middle, and I can move the lever up and down... but nothing happens, it doesn't stay in place when it's supposed to be "Activated" It just slides back to it's original position.
07-27-2011, 10:41 PM
Find


Messages In This Thread
Levers - by Angerpull - 07-27-2011, 08:08 PM
RE: Levers - by Tanshaydar - 07-27-2011, 08:15 PM
RE: Levers - by Angerpull - 07-27-2011, 08:27 PM
RE: Levers - by Tanshaydar - 07-27-2011, 08:32 PM
RE: Levers - by Angerpull - 07-27-2011, 08:44 PM
RE: Levers - by Kyle - 07-27-2011, 08:50 PM
RE: Levers - by Angerpull - 07-27-2011, 08:59 PM
RE: Levers - by Kyle - 07-27-2011, 09:26 PM
RE: Levers - by Angerpull - 07-27-2011, 09:35 PM
RE: Levers - by Kyle - 07-27-2011, 09:50 PM
RE: Levers - by Angerpull - 07-27-2011, 10:02 PM
RE: Levers - by Roenlond - 07-27-2011, 10:14 PM
RE: Levers - by Angerpull - 07-27-2011, 10:41 PM
RE: Levers - by Roenlond - 07-27-2011, 10:46 PM



Users browsing this thread: 1 Guest(s)