The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Lever isn't working?
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
Lever isn't working?

My lever doesn't work, somehow.
I thought this may be another "problem" since the lever isn't full at begin. you have to attach the lever to the mount. after doing that, Lever and Mount are Deactivated, and the FullLever is activated.
So now, I tried this :

PHP Code: (Select All)
SetEntityConnectionStateChangeCallback("FullLever""MoveWall");

void MoveWall(string &in asEntityint alState)
{
     if (
alState == 1)
     {
     
SetMoveObjectState("Wall",1.0f);
     
PlaySoundAtEntity("""quest_completed.snt""MoveWall"0false);
          return;
     }


But it doesn't work, I know the Wall wouldn't work, but the sound also don't start.
I tried some other things. but nope, to make sure, the FullLever doesn't have anything filled in Entity tab.
And about the wall, It's just a custom Plane. I think this can't move unless you make an entity of it, and make it moveobjectstate right?! because I need this wall to move. not that already made castle one.
05-04-2015, 04:10 PM
Find


Messages In This Thread
Lever isn't working? - by Amnesiaplayer - 05-04-2015, 04:10 PM
RE: Lever isn't working? - by FlawlessHappiness - 05-04-2015, 04:11 PM
RE: Lever isn't working? - by Amnesiaplayer - 05-04-2015, 04:15 PM
RE: Lever isn't working? - by FlawlessHappiness - 05-04-2015, 05:05 PM
RE: Lever isn't working? - by Amnesiaplayer - 05-04-2015, 05:14 PM
RE: Lever isn't working? - by FlawlessHappiness - 05-04-2015, 05:18 PM
RE: Lever isn't working? - by Amnesiaplayer - 05-04-2015, 05:37 PM



Users browsing this thread: 1 Guest(s)