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
Script Help Unexpected end of file problem
Darion97 Offline
Junior Member

Posts: 29
Threads: 1
Joined: Jun 2011
Reputation: 1
#2
RE: Unexpected end of file problem

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_4", "KitchenScare", true, 1);
}

void KitchenScare(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("SoundPiano", "general_piano02.snt", "piano_1", 1.0f, false);
SetEntityActive("rag_plague_corpse_1", true);
SetEntityActive("rag_plague_corpse_2", true);
SetEntityActive("rag_plague_corpse_3", true);
SetEntityActive("rag_plague_corpse_4", true);
SetEntityActive("rag_plague_corpse_5", true);
SetEntityActive("rag_plague_corpse_6", true);
SetEntityActive("rag_plague_corpse_7", true);
SetEntityActive("rag_plague_corpse_8", true);
SetEntityActive("rag_plague_corpse_9", true);
SetEntityActive("rag_plague_corpse_10", true);
SetEntityActive("rag_plague_corpse_11", true);
SetEntityActive("rag_plague_corpse_12", true);
SetEntityActive("rag_plague_corpse_13", true);
SetEntityActive("rag_plague_corpse_14", true);
SetEntityActive("rag_plague_corpse_15", true);
SetEntityActive("rag_plague_corpse_16", true);
SetEntityActive("rag_plague_corpse_17", true);
SetEntityActive("rag_plague_corpse_18", true);
SetEntityActive("rag_plague_corpse_19", true);
SetEntityActive("rag_plague_corpse_20", true);
SetEntityActive("rag_plague_corpse_21", true);
SetEntityActive("rag_plague_corpse_22", true);
SetEntityActive("rag_plague_corpse_23", true);
SetEntityActive("rag_plague_corpse_24", true);
SetEntityActive("rag_plague_corpse_25", true);
SetEntityActive("rag_plague_corpse_26", true);
SetEntityActive("rag_plague_corpse_27", true);
SetEntityActive("rag_plague_corpse_28", true);
SetEntityActive("rat_corpse_pile_1", true);
SetEntityActive("rat_corpse_pile_2", true);
SetEntityActive("rat_corpse_pile_3", true);
SetEntityActive("rat_corpse_pile_4", true);
SetLampLit("chandelier_simple_short_3", true, false);
SetLampLit("chandelier_simple_short_1", true, false);
SetLampLit("candlestick_tri_1", true, false);
SetLampLit("candlestick_tri_2", true, false);
SetLampLit("candlestick_tri_3", true, false);
SetLampLit("candlestick_tri_4", true, false);
SetLampLit("candlestick_tri_5", true, false);
SetLampLit("candlestick_tri_6", true, false);
SetLampLit("torch_static01_8", true, false);
SetLampLit("torch_static01_10", true, false);
SetLampLit("torch_static01_11", true, false);
SetLampLit("torch_static01_12", true, false);
}
(This post was last modified: 11-18-2011, 07:53 PM by Darion97.)
11-18-2011, 03:56 PM
Find


Messages In This Thread
Unexpected end of file problem - by Togglevolt - 11-18-2011, 03:34 PM
RE: Unexpected end of file problem - by Darion97 - 11-18-2011, 03:56 PM



Users browsing this thread: 1 Guest(s)