Home   Help Search Login Register  

Author Topic: Simple Question. Player Activated Triggers  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.

Offline westy159

  • Members
  • *
Simple Question. Player Activated Triggers
« on: 17 Dec 2005, 23:24:16 »
Ive been playing OFP and using the mission editor for about a year but i have never needed what im going to ask for before. Inspired by the FDF mod campaign i have been making missions with more people talking. Before my missions were mainly made for my brother to play (he loves it when i make these missions for him) and were mainly big battles or the all too common  black op sneaks into base at night and blows up stuff missions.

Ok enough of that and lets get to what i want. Its simple. I just want to know how i make a trigger activate when the player is in the set area. I always name the player "player1" (without quotation marks).


I think what im doing is best for the situation. You see my mission is in WW2 on a remake of malden island. It starts off with the player (whos a finnish guy) sitting in his barracks listening to some (finnish, 40's) music on the radio. Couple of seconds later a man walks up to the door way, looks in and by a trigger activated after a certain amount of seconds he says "turn that off and get outside, the captain wants aword with you" (theres no lip action or sound, just text) That man then walks away. Player gets up and walks outside where theres a lot of eye candy. The captain is clearly visible, standing a few metres away with a pilot. I need what the captain says (the text) to appear when the player is next to the captain.

The best way for that to work as i see it is to have a player activated trigger next to the captain. Thats why i want to know what the script for that is. But is the way ive done the other stuff all right or is there better ways to do things?
« Last Edit: 17 Dec 2005, 23:26:26 by westy159 »

Offline 456820

  • Contributing Member
  • **
Re:Simple Question. Player Activated Triggers
« Reply #1 on: 17 Dec 2005, 23:30:08 »
press F2 and drag a line fron the trigger to the player it should have a blue line now
double clikc on the trigger and make sure it is now set to vehicle prestent and voila done

Offline westy159

  • Members
  • *
Re:Simple Question. Player Activated Triggers
« Reply #2 on: 17 Dec 2005, 23:39:28 »
thankyou '456820'

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Simple Question. Player Activated Triggers
« Reply #3 on: 18 Dec 2005, 02:33:45 »
Quote
theres no lip action or sound, just text
Learn how to do it.  Sure there's a little effort involved, but its not difficult, there are tutes in the Ed Depot and plenty of missions to copy and its more than worth it.   The difference in atmostphere that a little voice acting makes is really quite extraordinary.
« Last Edit: 18 Dec 2005, 02:34:04 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Morglor9

  • Members
  • *
Re:Simple Question. Player Activated Triggers
« Reply #4 on: 18 Dec 2005, 05:14:20 »
a trigger set like this may work well too:

Code: [Select]
Condition: player1 distance captain > 2

On Activation: Whatever you want

syntax not garaunteed, of course.
Cymbaline

yankme

  • Guest
Re:Simple Question. Player Activated Triggers
« Reply #5 on: 18 Dec 2005, 05:57:27 »
i have a ? about this too, something ive never figerd out is how to get the trigger to have vehicle in it?

BRAVO-TWO

  • Guest
Re:Simple Question. Player Activated Triggers
« Reply #6 on: 18 Dec 2005, 17:48:38 »
westy ...

have trigger set up as to how you want it activating  (eg west present) and
try putting the following in the condition field of the trigger..

player1 in thislist  

hopefully the trigger will  only be executed when west is present and if player1 is within the trigger boundries ..


                                                   shark attack
                                                           :)
« Last Edit: 18 Dec 2005, 17:51:10 by [B.C.2] SHARK ATTACK »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Simple Question. Player Activated Triggers
« Reply #7 on: 18 Dec 2005, 18:13:35 »
Follow 456's instructions above.    You get new dropdown options in the Activation Box.
Plenty of reviewed ArmA missions for you to play

yankme

  • Guest
Re:Simple Question. Player Activated Triggers
« Reply #8 on: 19 Dec 2005, 09:52:30 »
thanks m8