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
what do i need to do...
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#5
RE: what do i need to do...

No bracket at SetPlayerMoveSpeedMul.

Also you're missing a } closing this script.

Needs to be like this:

void MoveWall(string &in asEntity, int alState)
{
    if (alState == -1)
    {
        SetMoveObjectState("MoveWall", 1);
        SetLeverStuckState("secretlever", -1, false);
        PlaySoundAtEntity("", "quest_completed.snt", "MoveWall", 0, false);
                StopMusic(5, 1);
                PlayMusic("Outside", true, 0.7f, 1, 0, false);
                SetPlayerMoveSpeedMul(0.5);

    }
}

Derp.
(This post was last modified: 08-21-2014, 05:16 PM by Neelke.)
08-21-2014, 05:15 PM
Find


Messages In This Thread
what do i need to do... - by Amnesiaplayer - 08-21-2014, 04:55 PM
RE: what do i need to do... - by CarnivorousJelly - 08-21-2014, 05:05 PM
RE: what do i need to do... - by Amnesiaplayer - 08-21-2014, 05:12 PM
RE: what do i need to do... - by Neelke - 08-21-2014, 05:06 PM
RE: what do i need to do... - by Neelke - 08-21-2014, 05:15 PM
RE: what do i need to do... - by Amnesiaplayer - 08-21-2014, 05:24 PM



Users browsing this thread: 1 Guest(s)