Announcement

Collapse
No announcement yet.

Event Flags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Event Flags

    John, is there a way to get a TriggerReceiver (or TriggerAnything) from a CheckFlag Somebody?

    In my experiments with it the TriggerReceiver is always the Barbarians no matter whom the Somebody was.

  • #2
    I'm not sure. Let me look into it.

    Comment


    • #3
      *** Bump ****

      Any news John?

      Comment


      • #4
        Sorry for the delay. We have bigwigs from Hasbro Interactive HQ in the building this week, and it's hard to get anyone to answer intelligent questions in between meetings. (First, you have to wake them up, get their eyes unglazed...)

        Comment


        • #5
          *** BUMP BUMP ***

          Not wishing to sound impatient, I'm just somewhat curious myself.

          Comment


          • #6
            Okay, I have the answer, and it's definitely...maybe.

            When you use the CheckFlag trigger, you have the option of including a "Who=" line. If you don't include that, none of the Trigger+ stuff will work in the action. If you do include a "Who=", then the Who 'field' has a value. This means that TriggerAttacker--but no other Trigger+ words--should have the same value (a tribe name) that you specified in the CheckFlag trigger for "Who=". (Since TriggerDefender and TriggerReceiver are based on the Whom field, which has no meaningful value, they shouldn't be used.)

            So you can't use this to gather in-game information, but you could use it to specify exactly which tribe is "Who" for an action that uses a "TriggerAttacker" or "Who" field.

            Comment


            • #7
              So, the TriggerAttacker variable is set to the value of the Who but only if I specify explicitly who the Who is, like Who=Romans. If I do not know who the who is, like Who=Somebody, then it will not tell me who the who is. Yes?

              This is not the answer I was hoping for of course. Please add this one to the Patch 1.2 wish list, John.

              P.S. Is there anyone out there following this thread who would like an example of what we are talking about?
              [This message has been edited by William Keenan (edited January 27, 2000).]

              Comment


              • #8
                I promise I'll hunt down the flags programmer today and ask.

                Comment


                • #9
                  Yes, you must explicitly set the Who value. "Somebody" or "Anybody" are just instructions to poll the set of flags, so the Who in those cases never gets set.

                  Comment


                  • #10
                    Well yes, I don't know about anybody else but I have been following this and I don't have the foggiest notion of what you are on...

                    Comment


                    • #11
                      Here's my favorite line:

                      "If I do not know who the who is, like Who=Somebody, then it will not tell me who the who is. Yes?"

                      Thanks William.....Dr Seuss would be proud!



                      To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

                      From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

                      Comment


                      • #12
                        Would you write events in the rain?

                        Could you write events on a train?

                        Comment


                        • #13
                          I would not, could not in the rain

                          I will not, will not on a train!

                          Comment


                          • #14
                            I could you, would you write events in pain?

                            I could you, would you write events in a plane?
                            -Variety is the spice of life, but it gives me indegestion-
                            "If we don't succeed, we run the risk of failure." -- Dan Quayle

                            Comment


                            • #15
                              I do not like them Sid-I-Am.

                              I do not like green flags and ham.

                              Comment

                              Working...
                              X