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
Shaking Room
assassinhawk45 Offline
Junior Member

Posts: 31
Threads: 11
Joined: Dec 2012
Reputation: 0
#6
RE: Shaking Room (STILL NEED HELP!)

The shaking script isn't working.
////////////////////////////
// Run when starting map
void OnStart()
{
SetEntityConnectionStateChangeCallback("lever", "func_shelf");
SetEntityConnectionStateChangeCallback("lever_1", "StartScreenShake");
}


void func_shelf(string &in asEntity, int alState)
{
if (alState == 1)
{
SetEntityActive("fail_1", true);
}
}


void StartScreenShake(float 5.0f, float 10.0f, float 5.0f, float 5.0f);
{
SetEntityActive("bridge", true);
}
It says unexpected token { (20,1)

(01-18-2013, 05:34 PM)NaxEla Wrote: Mackiiboy is completely correct. People use the functions FadePlayerRollTo and MovePlayerHeadPos to simulate lying down.

Ok

The Necromancer's Touch: WIP Coming March 2013
(This post was last modified: 01-18-2013, 05:38 PM by assassinhawk45.)
01-18-2013, 05:37 PM
Find


Messages In This Thread
Shaking Room - by assassinhawk45 - 01-18-2013, 03:50 PM
RE: Shaking Room - by Adny - 01-18-2013, 03:58 PM
RE: Shaking Room - by Mackiiboy - 01-18-2013, 04:08 PM
RE: Shaking Room - by assassinhawk45 - 01-18-2013, 04:32 PM
RE: Shaking Room (STILL NEED HELP!) - by NaxEla - 01-18-2013, 05:34 PM
RE: Shaking Room (STILL NEED HELP!) - by assassinhawk45 - 01-18-2013, 05:37 PM



Users browsing this thread: 4 Guest(s)