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] Goddamn levers.
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#5
RE: [HELP] Goddamn levers.

If you ask me, it would be easiest just to set up a connectionstatechangecallback.
In the level editor, under the entity tab for the lever, there should be a box with ConnectionStateChangeCallback (or something like that) Just type in whatever you like. As an example, I'll just do LeverPull.
Then, you can do this.
PHP Code: (Select All)
void LeverPull(string &in EntityNameint alState)
{
    if(
alState == 1)
    {
       
//stuff you want done here
    
}


12-10-2011, 12:42 AM
Find


Messages In This Thread
[HELP] Goddamn levers. - by Victor - 12-07-2011, 01:25 PM
RE: [HELP] Goddamn levers. - by Khyrpa - 12-07-2011, 01:26 PM
RE: [HELP] Goddamn levers. - by flamez3 - 12-07-2011, 01:35 PM
RE: [HELP] Goddamn levers. - by Victor - 12-09-2011, 06:25 PM
RE: [HELP] Goddamn levers. - by Obliviator27 - 12-10-2011, 12:42 AM
RE: [HELP] Goddamn levers. - by Fanskapi - 12-12-2011, 09:35 AM



Users browsing this thread: 1 Guest(s)