Home   Help Search Login Register  

Author Topic: How do trigger identify certain unit? Only tank named "tank1" triggers?!  (Read 1019 times)

0 Members and 1 Guest are viewing this topic.

karitzsa

  • Guest
 :-[ I'm making my first mission wich includes some code. And now I wonder how can I get a trigger print  message like "Oh my god, tanks!!" when enemy tank goes to location/ comes detected by my men? I now know how to trigger that kind of message when ANY enemy goes through a trigger, but certain?

I am a noob I know.

And how do you use synchronize button? I've tried to push it and everything but got nothing to happen...?

Thank you very much for your time!

Offline XCess

  • Former Staff
  • ****
To make a triiger execute when a specific unit passes through click group and drag from the unit to the trigger.

To synchronise a unit with a trigger, drag a sync line from the trigger to the wayoint of a unit you want the unit to stop at. only when the trigger's conditions are met will the units continue through their waypoints.

klavan

  • Guest
:-[ I'm making my first mission wich includes some code. And now I wonder how can I get a trigger print  message like "Oh my god, tanks!!" when enemy tank goes to location/ comes detected by my men? I now know how to trigger that kind of message when ANY enemy goes through a trigger, but certain?

Or you can give the tank(s) a name and write in the trigger condition field:
Code: [Select]
NameOfTheScaringTank in thislistDon't forget to set up the triggers side activation condition (east/west/etc...) properly.
Klavan

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
The Sinchronization botton is ideal for scripting Reinforsments and for combined attack or operations.. there are also various tricks you can find out.. like make a AI Helo pick up an IA group... try it sinchronisating the "get in" and "load" waypoints into an heliport(invisible)... (I belive it was that way.. jeje)

Hope that helped..

Mikko Karikytö

  • Guest
Thank you very much. That is all useful information for me editing my missions. I got it working and its good! ;D