GreyFox
Member
Posts: 162
Threads: 23
Joined: Jul 2011
Reputation:
2
|
1 Trigger Won't work!
Hey guys I have a bunch of triggers and stuff But this 1 Won't work and I have no idea why.
I'll give you the few lines for it and maybe i'm just blind and don't see something so obvious
void OnStart()
{
AddEntityCollideCallback("Player", "Blowpaper", "CollideBlowPaper", true, 1);
}
void CollideBlowPaper(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("WindGust", "general_wind_whirl.snt", "paper_pile_1", 0, false);
CreateParticleSystemAtEntity("PaperBlow", "ps_dust_paper_blow.ps", "paper_pile_1", true);
AddPropImpulse("mansion_6", -3, 0, 0, "world");
}
The Trigger in the level editor is called "Blowpaper"
Thanks guys. I'm going to keep trying and looking.
-Grey Fox
Current Project
Forgotten
(This post was last modified: 08-08-2011, 10:08 PM by GreyFox.)
|
|
08-08-2011, 10:02 PM |
|