The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 Trigger Won't work!
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#1
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
Find


Messages In This Thread
1 Trigger Won't work! - by GreyFox - 08-08-2011, 10:02 PM
RE: 1 Trigger Won't work! - by Dizturbed - 08-08-2011, 10:05 PM
RE: 1 Trigger Won't work! - by GreyFox - 08-08-2011, 10:08 PM



Users browsing this thread: 2 Guest(s)