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
Problems
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Problems

I see multiple errors.

void OnEnter()
{
}
void OnStart()
{
     AddEntityCollideCallback("Player", "shadow", "shadowappear", true, 1);
}
void shadowappear(string &in asParent, string &in asChild, int alState)
{
     PlaySoundAtEntity("guardian_activated1", "guardian_activated.snt", "Player", 5, true);
     SetEntityActive("slime_pile_2", true);
     SetEntityActive("slime_pile_large_1", true);
     SetEntityActive("slime_anim_wall_2", true);
     SetEntityActive("slime_egg_1", true);
     SetEntityActive("slime_anim_ceiling_1", true);
}

You can try this. You can also notice that I removed the "void" at the beginning for some of the command functions. You don't need those.

I hope it works. Smile

(This post was last modified: 10-15-2011, 12:30 AM by Kyle.)
10-15-2011, 12:26 AM
Find


Messages In This Thread
Problems - by jmayo - 10-15-2011, 12:23 AM
RE: Problems - by Kyle - 10-15-2011, 12:26 AM
RE: Problems - by jmayo - 10-15-2011, 12:35 AM
RE: Problems - by schmupper - 10-15-2011, 06:27 PM
RE: Problems - by Kyle - 10-15-2011, 01:03 AM



Users browsing this thread: 1 Guest(s)