AOE3 Forums


  advanced
in


Last post 11-01-2009, 7:21 PM by kjn. 7 replies.
Sort Posts:
  •  11-01-2009, 12:35 PM 852458
    Conquistador! Conquistador! is not online. Last active: 11-14-2009, 2:51 PM
    Member
    Not Ranked
    Total Posts: 14
    Last Post: 11-14-2009
    Member Since: 10-22-2009
    Subject: Question about a condition

    On this map that I made, there is a land bridge crossing a river.  The British are in control of it at the beginning of the game.  I want to send a message (the effect) to the British player if the Americans (the Brit's enimy) cross over a certian point on the bridge.  Is there a condition for this?

  •  11-01-2009, 1:57 PM 852472 in reply to 852458
    sufjanfan sufjanfan is not online. Last active: 11-20-2009, 10:38 PM
    Member
    Not Ranked
    Total Posts: 29
    Last Post: 11-20-2009
    Member Since: 10-02-2009
    Subject: Re: Question about a condition
    Is there a point visible or unit visible condition? If so, set it on a tree or the ground near the bridge, so when they see it, they get a message.

    RM and AI scripter for War of the Triple Alliance. Try it!
    http://lordtahattus.110mb.com/phpBB3/index.php
  •  11-01-2009, 2:28 PM 852479 in reply to 852458
    kjn kjn is not online. Last active: 11/21/2009, 12:28 PM
    Member
    Top 10 Contributor
    Total Posts: 4,242
    Last Post: 11-21-2009
    Member Since: 12-24-2005
    Subject: Re: Question about a condition
    Conquistador!:

    On this map that I made, there is a land bridge crossing a river.  The British are in control of it at the beginning of the game.  I want to send a message (the effect) to the British player if the Americans (the Brit's enimy) cross over a certian point on the bridge.  Is there a condition for this?

    Hello again Conquistador.

    Welcome to the user created content category!

    If I'm understanding your question?

    Here's a trigger example..

    First put a cinblock, on your map, at the point you want this message to appear..Then with the following trigger

    Trigger1

    Active:

    Condition : Units in area

    Condition : Send chat to player

    There are many other ways to illustrate this sequence..I.E..With different conditions and effects..I did give you a link to the H.G.Wiki, triggers in one of your other threads..You just got to experiment until you have what you want.

    Just in case you can't remember which thread..Here's the link again.

    http://wiki.heavengames.com/age/Triggers

    Regards

  •  11-01-2009, 3:20 PM 852484 in reply to 852479
    Conquistador! Conquistador! is not online. Last active: 11-14-2009, 2:51 PM
    Member
    Not Ranked
    Total Posts: 14
    Last Post: 11-14-2009
    Member Since: 10-22-2009
    Subject: Re: Question about a condition

    Thank you for your response kjn.  By "cinblock" I assume you ment "cinematic block".  Anyway, I placed and cinematic block in the middle of the bridge, and entered the information into a trigger.  But, when the American troops crossed the bridge nothing happened. 

  •  11-01-2009, 3:27 PM 852485 in reply to 852484
    kjn kjn is not online. Last active: 11/21/2009, 12:28 PM
    Member
    Top 10 Contributor
    Total Posts: 4,242
    Last Post: 11-21-2009
    Member Since: 12-24-2005
    Subject: Re: Question about a condition

    Conquistador,

    You're most welcome..

    Yes..That is what I meant..cimematic block.."cinblock"

    In the "units in area data panel"..Did you set the cinblock as the center unit?

    Did you specify what kind of unit?. Military..You can even get more technical and specify the unit type..

    Make sure the operator is set correctly..<= : >= : == : < : >..

    Double check all your field data in the trigger members..You may have missed something small..

    http://wiki.heavengames.com/age/Units_in_area

    Regards

     

  •  11-01-2009, 3:47 PM 852490 in reply to 852485
    kjn kjn is not online. Last active: 11/21/2009, 12:28 PM
    Member
    Top 10 Contributor
    Total Posts: 4,242
    Last Post: 11-21-2009
    Member Since: 12-24-2005
    Subject: Re: Question about a condition

    Conquistador,

    In the "send chat to player data panel"..Are you sending the chat to the correct player?

    http://wiki.heavengames.com/age/Send_chat_to_player

  •  11-01-2009, 7:02 PM 852537 in reply to 852485
    Conquistador! Conquistador! is not online. Last active: 11-14-2009, 2:51 PM
    Member
    Not Ranked
    Total Posts: 14
    Last Post: 11-14-2009
    Member Since: 10-22-2009
    Subject: Re: Question about a condition

    Kjn,

    Thank you for specifying what I was suppost to do.  Now it is working well.  I just have one question.  What does the operator do, and how do you set it?

  •  11-01-2009, 7:21 PM 852540 in reply to 852537
    kjn kjn is not online. Last active: 11/21/2009, 12:28 PM
    Member
    Top 10 Contributor
    Total Posts: 4,242
    Last Post: 11-21-2009
    Member Since: 12-24-2005
    Subject: Re: Question about a condition

    Conquistador,

    You're most welcome..Happy to have been able to help!

    The operator helps to specify the conditon "Units in area" ..In this condition there is a radius of twenty..Your center unit is the cinblock..( The center of the radius )..The operator can specify how many units that need to be with in that radius..To fire the effect..To select the operator you wish..Just click on the yellow arrow at the right of the operator field box..For instance..

    If you use the operator ==..If your specified number is 3..Your specified unit is "military"..What it would mean?.That if three military units are with in the radius of the cinblock..The condition will fire the effect.."Send chat to player"..

    Say for instance..You use >=..Again your specified number is 3..What that would mean?.That if three or more military units are with in the radius of the cinblock..The effect would fire..The radius size can be increased or decreased also..The cinblock marks the center of the radius regardless of the size of it.

    Regards

View as RSS news feed in XML