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
Expected crap
Inurias Offline
Junior Member

Posts: 20
Threads: 0
Joined: Jan 2012
Reputation: 2
#6
RE: Expected crap

You are missing a "}" here:
void func5()
{
    if(GetLocalVarInt("Var1") == 4)
    {
        SetEntityActive("castle_gate_arched01_1", false);
        SetEntityActive("castle_gate_arched01_2", true);
        SetEntityActive("floor_ivy_2", true);
        SetEntityActive("slime_pile_large_5", true);
        SetEntityActive("corpse_pile1_2", true);
        SetEntityActive("slime_egg_2", true);
        SetEntityActive("slime_pile_2", true);
        SetEntityActive("slime_pile_large_3", true);
        SetEntityActive("slime_6way_1", true);
        SetEntityActive("slime_pile_large_7", true);
        SetEntityActive("slime_3way_3", true);
        SetEntityActive("slime_egg_3", true);
        SetEntityActive("slime_anim_wall_2", true);
        SetEntityActive("slime_3way_4", true);
        SetEntityActive("slime_3way_2", true);
        SetEntityActive("slime_6way_6", true);
        SetEntityActive("slime_pile_large_6", true);
        SetEntityActive("slime_6way_5", true);
        SetEntityActive("slime_3way_5", true);
        SetEntityActive("corpse_pile2_1", true);
        SetEntityActive("slime_6way_3", true);
        SetEntityActive("slime_6way_4", true);
        SetEntityActive("slime_pile_4", true);
        SetEntityActive("slime_6way_7", true);
        SetEntityActive("slime_anim_wall_1", true);
        SetEntityActive("slime_egg_4", true);
        SetEntityActive("slime_pile_3", true);
        SetEntityActive("slime_6way_2", true);
        SetEntityActive("slime_pile_large_1", true);
        SetEntityActive("slime_3way_1", true);

        StartScreenShake(0.5f, 5, 1, 1);
        AddPropForce("chandelier_large_5", 2500, 0, 0, "world");
        AddPropForce("chandelier_large_4", 0, 2000, 0, "world");
        AddPropForce("chandelier_large_3", 0, 0, 2000, "world");
        AddPropForce("chandelier_large_2", 0, 25000, 0, "world");

        CheckPoint("CheckpointTwo", "PlayerStartArea_2", "", "", "");
        PlaySoundAtEntity("", "13_machine_fail.snt", "Play_At_2", 0, false);
        AddTimer("spawn1", 3.0f, "Spawn2");
        AddTimer("spawn2", 0.6f, "Spawn2");
    }
01-12-2012, 09:34 PM
Find


Messages In This Thread
Expected crap - by i3670 - 01-12-2012, 08:39 PM
RE: Expected crap - by Inurias - 01-12-2012, 09:07 PM
RE: Expected crap - by i3670 - 01-12-2012, 09:18 PM
RE: Expected crap - by Inurias - 01-12-2012, 09:26 PM
RE: Expected crap - by i3670 - 01-12-2012, 09:31 PM
RE: Expected crap - by Inurias - 01-12-2012, 09:34 PM
RE: Expected crap - by i3670 - 01-12-2012, 09:40 PM
RE: Expected crap - by Inurias - 01-12-2012, 09:42 PM



Users browsing this thread: 2 Guest(s)