archer950 0 Posted February 28, 2002 I would like to know how to make a text message apear when any of the players get into a certain vehicle. Share this post Link to post Share on other sites
EagleEye(SW) 1 Posted March 2, 2002 A good answer to your question Place a west soldier. Give him the name sol. Place a car and name it to car Now create a trigger. Activation = West Erase True in condition and write: Condition = sol In car On Activation = Hint "Move too Everon airport and beware of enemy roadblocks" Now exit the trigger window and press Preview and get into the car. A small message will pop up on the left side on the screen. You can of course change the message I wrote. Whats happends? The trigger will not activate in the start becuase it is false that sol are in the car. When you get into the car, the trigger suddenly are true and the trigger activates. You can change hint to: HintCadet = the message will only pop up if you playing on Cadet mode. HintC = the message will pop up, but not on the left side on the screen, in the middle. The currently game will be paused and you need to press continue to continue ):. This is a very important script if you want to be sure that the player see the message. I hope this will help you with your mission. (sorry for bad english ) /EagleEye PS: for more info about scripting, please enter Operation Flashpoint Editing Centers Codesnippets Share this post Link to post Share on other sites
archer950 0 Posted March 3, 2002 Thanks for answering my question. I will definetly try that. I need a little extra help though. you see I want anybody who gets in the vehicle to see the message. not just one person. P.s. It's a MP mission Share this post Link to post Share on other sites
Paestero 0 Posted March 3, 2002 Hm... I think the "crew" command would work here </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> crew vehicle Operand types: Â Â vehicle: Object Type of returned value: Â Â Array Description: Â Â All units mounted in given vehicle. If vehicle is not vehicle, but person, list containing only person is returned. Example: Â Â crew vehicle player <span id='postcolor'> Maybe something like: Â Â Â btw: ! Â is same as not Condition: Â !(count crew vehicle jeep1 == 0) On Activation = Hint "Move too Everon airport and beware of enemy roadblocks" Or something like that, got really NO idea if you can use COUNT on CREW command Share this post Link to post Share on other sites
Paestero 0 Posted March 4, 2002 The above works! For one unit: Con: count crew vehicle jeep1 == 1) Activ: hint "Move to blabla" For Two units: Con: count crew vehicle jeep1 == 2) Activ: hint "You and your mate move to blabla" You can also do it like this: Trigger one: Con: true On Activ: max = count units L1 (L1 is your name..) Trigger two: Con: (Count cew vehicle jeep == max) On Activ: hint "Move to bla bla bla" Depends on how lazy you're etc Share this post Link to post Share on other sites