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
#3
RE: Lever isn't working?

(05-04-2015, 04:11 PM)FlawlessHappiness Wrote: Where did you put

SetEntityConnectionStateChangeCallback("FullLever", "MoveWall");

?

Here:

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player", "ScareArea", "BodyFall", true, 0);
PlayMusic("Temple_Inside", false, 1, 1, 1, false);
AddTimer("", 5,"BloodDrip");
AddEnemyPatrolNode("MonsterWalk", "1", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "2", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "3", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "4", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "5", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "6", 0.01f, "");
AddEnemyPatrolNode("MonsterWalk", "7", 0.01f, "");
AddEntityCollideCallback("Lever", "AttachLever", "FullyLever", true, 0);
SetEntityConnectionStateChangeCallback("FullLever", "MoveWall");
} 

(Also, a little thing, how to make the monster dissappear after MonsterWalk 7, It worked for me on my old custom story but I really forgot how I did this..)
05-04-2015, 04:15 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)