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
How Can I Make a Trigger Activate Another Trigger?
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#13
RE: How Can I Make a Trigger Activate Another Trigger?

I think it's easier when you put the trigger areas active in the editor and just do
void CollideGruntDoorTrigger1(string &in asParent, string &in asChild, int alState)
{
    AddEntityCollideCallback("Player", "GruntTrigger1", "ReplaceMe", true, 1);
    AddEntityCollideCallback("Player", "CloseDoorTrigger1", "ReplaceMe", true, 1);
}

Just make sure you do not put those two AddEntityCollideCallbacks in OnStart()

09-18-2010, 11:05 PM
Find


Messages In This Thread
RE: How Can I Make a Trigger Activate Another Trigger? - by Pandemoneus - 09-18-2010, 11:05 PM



Users browsing this thread: 3 Guest(s)