Forum Jump :

Author Message

RAZE  



Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-05-01 04:40        
     
I'm trying to make a player activate an objective when they walk into a building/trigger(got this done), than that enables a second trigger to fire when they exit the building/enter a new trigger.

I want to be able to walk over the second trigger and it do nothing until the first trigger fires.

How would I set up/what would it look like? I assume it's something I enter in the conditions of the second trigger?

Thanks in advance.


Author Message


Posts: 83
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: J.Shock

 
#2 Posted at 2015-05-01 05:10        
     
this && triggerActivated trigger1Name

John Shock
Scripter, Mission Developer

My scripts: Simple Mortar Script, Redressing Script, Cruise Control Script

My Missions: [COOP-40]Operation Bloody Bayonet

Advertisement


Author Message


Posts: 1189
Rank:


Level: Member

Country: tr
Location:
Occupation: Computer Science student
Age: 20
In-game name: Wak

 
#3 Posted at 2015-05-01 09:13        
     
Why don't you use the same trigger's ON DEA line, soon as the player leaves the building it should deactivate, so no need to put a second trigger.

Sometimes I like to think as I started the whole "earplugs" thing.

W0lle: The only advice I can give you is: Do not try to understand BI. You will not succeed and it only makes your brain go boom. I would even go so far and say that not even they understand their own actions :-D.

#define getDamage getDammage