You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Have a Trigger Request? Post it here!
« Previous Page  1 ··· 3 4 5 6 7 ··· 20 ··· 30 ··· 40 ··· 50 ··· 60 ··· 70 ··· 80 ··· 90 ··· 100 ··· 101  Next Page »
posted 01 February 2009 11:53 AM EDT (US)   
So you have a question trigger request?

You can post it here!



Hello and welcome to the Trigger Request Thread (TRT). This thread's purpose is only to place trigger requests and discuss them. If you have unrelated questions or need help with triggers, please use Azur's thread!



Before posting your request, it's always good to read the so-called FAQ.

  1. What is a FAQ?
    The term "FAQ" (when pronounced, it rhymes with "back") is an acronym for Frequently Asked Questions.

  2. How do I install a trigger?
    When we have finished making your trigger, we'll post the required code here. To install this code you will first of all need to find your way to the AoM installation folder. C:\Program Files\Microsoft Games\Age of Mythology by default). Now open the trigger folder if you intend to use the trigger in vanilla, or open the trigger2 folder if you use The Titans expansion. Next, open the file called typetest.xml. The only thing left to do is copy the code at the right position and save. If you requested a condition, then place the line above < /Conditions>, if you requested an effect paste it right above < /Effects>. Note the "s" at the end of both tags.

    Notes:

    1. When copying the trigger from someone please click first and only then copy the required code.
    2. If you're still uncomfortable with installing triggers please backup the original typetest file, i.e. copy the original to another folder.


  3. How do I uninstall a trigger?
    If a trigger happens to be faulty or if it generates errors you better remove it. Just do as if you were installing a new trigger, but instead of copy-pasting new code, remove the code corresponding with the chosen trigger. Make sure to remove it completely, including the starting < effect > or < condition > tag and the corresponding < /effect > or < /condition > closing tag. Failure to do so properly will cause XML errors in the file making ALL triggers in that file inaccessbile for AoM.

  4. So... How exactly are new triggers made?
    AoM has a built-in engine that can parse XS code. Triggers are programmed and interpreted using this language through a series of existing functions. Since there are over 600 functions, and only a few are used by the default triggers, this leaves plenty of room for a whole new set of advanced, useful triggers.

  5. Can I request anything?
    Although we can do a lot with today's knowledge, there are still limitation we won't ever get around. So if you think of a cool new trigger, make sure to post a request but don't forget you might get a negative reply. Commonly requested triggers that are not possible include (but are not limited to):

    • Modify Unit: change the stats of 1 particular unit.
    • Change Playername
    • Change Major God
    • Transform ALL units on map for player
    • I'll add more when I think of them.


  6. I want to learn trigger scripting, how do I do that?
    It takes quite some time, but if you really want to learn trigger coding, we recommend fully understanding XS language before you start making triggers. Therefore, go here: Master XS (WIP). If you want to skip all that, and you want to be able to create only simple triggers, read this guide.

  7. Help! My triggers have stopped working!
    Triggers Stop Working Guide. Also linking camera tracks, using Run Immediately, sound timers and decimals in conditions like Timer and Distance to Unit effect, might cause this. Moreover, typing an invalid name on the Victory Conditions will cause a trigger block. But post these sort of questions in the Great Question thread.



Resources

Recommended Downloads:
  1. Trigger Loader 2 + Quest Vars (AoM && TT) by invent00r and Mythic_Freak
  2. SomeNewXTriggers 3 (TT) & SomeNewTriggers 4 (AoM) by Reyk
  3. Proactive Triggers (TT & AoM) by invent00r
  4. Advanced Triggers Set (TT) by pftq
  5. New Custom Triggers (TT) by Baseballkid14
  6. Nottud's Latest Triggers by nottud
  7. Conditonal Effects (TT & AoM) by nottud
  8. Angry Levels (TT & AoM) by angryzor
  9. SIMSTools (TT) by angryzor
  10. Target Protounit Query by HailToTheOboe

Miscellaneous:
  1. First TRT by invent00r
  2. Trigger Templates by Mephiles
  3. A list of all guides sorted by Paperfriend




Posting a Request

So you have read the FAQ and want to post a request? OK, go for it, just be sure to use the following format:

Name - This should be as straightforward as possible. Try to comply with today's standards.
Description - Always describe the actions that you want the trigger to perform.
Example - Optional. An example can be a great help when requesting complex triggers.

[b]Name[/b] -
[b]Description[/b] -
[b]Example[/b] -

We might even ignore posts in other formats if we're in a bad mood
Remember that not all triggers are possible but we will try our best.




Unfinished Requests

  • Unit Patrol by Bingo Little
  • Army Wander by Endarron
  • QV Damage Units in QV area by name by mrjonathan0
  • Unit Heading Towards Unit by dwieeb
  • Damage units in Area by % (has been done before?) by Steak And Khan
  • Most Units In Area by Sir_Hans
  • QV Modify x by satansfall
  • Move from area to random area by Mister SCP
  • Set Unit Formation by aZeusDude2
  • Army Deploy Random Myth Unit by bgan
  • QV Randomize Series by Alexgd92
  • Convert all except protounit (or unit) by Joshonator
  • SET Ambient Colour/Sun Colour/Sun Specular/Terrain Ambient Fade Version by andrewv42
  • Damage units near army by AJER
  • QV count units in area with state by AuroraP
  • QV Grant random resources per stat by AuroraP
  • Condition: Random Timer by SwordOfValor
  • Army deploy in line by SwordOfValor
  • Condition: unit (type/in area) worked on other unit. by WinstonShnozwick
  • Gruoup selected by Guard of Olympus
  • Pick Unit by XxXItachiXxX
  • Modify Protounit All Percent by AuroraP
  • Random Forest by Bubble

  • Finished Requests

  • Damage Units near protounit for sneaky_squirrel & mrjonathan0
  • Move units from area to unit for Azur
  • Clear Chat History of Player & Chat Contains Anything for Lewonas
  • QV Change unit type by ID for Yeebaagooon
  • Move to QV Unit for Yeebaagoon
  • QV Modify Protounit for Xzyiothe
  • Player Kill GP Slot for Titanic Kraken
  • Move all player units for Anstar
  • Protounit Change Name for Dimir_Guildmage
  • Shop start/end with max for Mephiles
  • Diplomacy trigger for Yeebaagooon
  • Diplomacy both ways trigger for Yeebaagooon
  • Modify protounit trigger for Yeebaagooon
  • Convert trigger for Yeebaagooon
  • Make all units have no bonuses for Brighty
  • Conditional Army Units in Area for Sneaky_Squirrel
  • GROUP Select 2 for AuroraP
  • Send QV Color Chat for Alexgd92
  • Quest Var xModify for Alexgd92
  • QV Randomize 4 amounts for Alexgd92
  • QV Set Population Count for Beelzebub
  • Units in area of army for SwordOfValor
  • Damage units in area of army for SwordOfValor
  • AG with armies for SwordOfValor
  • Army deploy QV Count for Silicone Ruff Jr
  • Quest Var set rank for gunner1
  • Convert units in area to random player for Zorx
  • Units Change Name By Type for beerad
  • Army deploy where the units facing for SwordOfValor
  • Unit Heading Towards Unit for Noble
  • Convert Random Units In Selection for xEXOLARx
  • QV Set Units in Area (Center Army) for SwordOfValor
  • Move Units from Area (action) for SwordOfValor

  • Enjoy.
    Last updated: 03 september 2009

    If we knew what it was we were doing, it would not be called research, would it? - Einstein, A.
    Master XS - AoM Code Reference - Trigger Loader - Trigger Requests - Chess

    Wow, I never thought that I would actually know something before nottud did... it's actually not all that satisfying ~ Steak

    [This message has been edited by Mythic_Freak (edited 01-16-2010 @ 08:01 AM).]

    Replies:
    posted 22 February 2009 06:18 PM EDT (US)     101 / 2506  
    I got it from his trigger pack and not from what you typed so don't worry too much about checking it;D. Still there must be something. Maybe a way to get a player to fire a hotkey without him actually doing it?

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 22 February 2009 06:54 PM EDT (US)     102 / 2506  
    What's all the fuzz about? Hotkeys, multiplayer? Those were my first triggers ^_^.

    They'll OoS if the hotkey does some game changing action though, or you'd need to use the chat system workaround which will always imply a delay.

    If we knew what it was we were doing, it would not be called research, would it? - Einstein, A.
    Master XS - AoM Code Reference - Trigger Loader - Trigger Requests - Chess

    Wow, I never thought that I would actually know something before nottud did... it's actually not all that satisfying ~ Steak
    posted 24 February 2009 12:35 PM EDT (US)     103 / 2506  
    Okay need to get this straightened out before I can really move on. There is no chance in hell that these triggers are going to work somewhat effectivly?

    How about these workarounds I've herd about any luck?

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 24 February 2009 01:58 PM EDT (US)     104 / 2506  
    When I see you next time online I will give you my hotkey working online work around that works for ANY event.

    No chat system is used and it works almost instantly.

    The boy with the mad imagination
    Prepare for the ultimate duel!
    Learn to use all my triggers and what you can do with them. Visit here.
    Find out and download the transform trigger here.
    Play some minigames I have created outside AOM including some 3D games here.

    [This message has been edited by nottud (edited 02-24-2009 @ 02:02 PM).]

    posted 24 February 2009 05:14 PM EDT (US)     105 / 2506  
    The version of UI Select Units that I posted works fine for me.

    In invent00r's original version you need to have the "For Player Setup" effect in an older trigger for any of the FP stuff to work, but since he released Proactive Triggers, Mythic found a new command trCurrentPlayer(), so I updated mine to use that so there was no more need of For Player Setup.
    posted 25 February 2009 11:59 AM EDT (US)     106 / 2506  
    For Player Setup no longers exists on my Proactive trigger set.

    It was expanded further to become the Trigger Loader.
    -invent00r

    My Work: 1 2 3 4 5 6 7 8 9 10

    WIP: Master XS Battle Micro AI
    Paused: AI (%4.247)
    Os segredos são de quem os souber guardar.
    posted 25 February 2009 12:38 PM EDT (US)     107 / 2506  
    It was expanded further to become the Trigger Loader.
    "The trigger loader has absorbed it."*

    If we knew what it was we were doing, it would not be called research, would it? - Einstein, A.
    Master XS - AoM Code Reference - Trigger Loader - Trigger Requests - Chess

    Wow, I never thought that I would actually know something before nottud did... it's actually not all that satisfying ~ Steak
    posted 25 February 2009 06:03 PM EDT (US)     108 / 2506  
    Nottud the trigger set up still syncs!!!

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 25 February 2009 06:15 PM EDT (US)     109 / 2506  
    It was expanded further to become the Trigger Loader.
    Does this mean if I re-download Proactive triggers there is a new version of all the FP stuff that uses the trigger loader?
    posted 28 February 2009 00:00 AM EDT (US)     110 / 2506  
    My progress is haulted on my scenario. Nottud used your trick and still sync unfortunately. I did army is dead instead of unit is dead. Is that okay?

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 28 February 2009 04:30 AM EDT (US)     111 / 2506  
    You better see me online.

    You better give me a GM time when you come on since that is what I use as I live in England.

    The boy with the mad imagination
    Prepare for the ultimate duel!
    Learn to use all my triggers and what you can do with them. Visit here.
    Find out and download the transform trigger here.
    Play some minigames I have created outside AOM including some 3D games here.

    [This message has been edited by nottud (edited 02-28-2009 @ 04:34 AM).]

    posted 28 February 2009 04:57 AM EDT (US)     112 / 2506  
    I'm on right now.
    It's 4:30 am at the time you last posted.

    ____________
    +|||SwordOfValor|||+
    A Proud Member Of
    0==[==========>
    ValorStudios
    <==========]==0
    posted 28 February 2009 05:25 AM EDT (US)     113 / 2506  
    I don't see you.

    (Dam I didn't realise you would respond so quickly)

    EDIT: He he - made a map which is a mini pit of doom map where you invoke events by pressing hotkeys.

    The boy with the mad imagination
    Prepare for the ultimate duel!
    Learn to use all my triggers and what you can do with them. Visit here.
    Find out and download the transform trigger here.
    Play some minigames I have created outside AOM including some 3D games here.

    [This message has been edited by nottud (edited 02-28-2009 @ 01:52 PM).]

    posted 02 March 2009 12:46 PM EDT (US)     114 / 2506  
    I made a convert by QV ID trigger myself .

    Can I now please have move to unit by QV ID where the source unit will move to another unit who has an ID specified by a QV?

    Thanks.

    ______________________________________ Yeebaagooon ______________________________________
    ____________________ AoMH Seraph ____________________
    "You can't trust yeebaagooon to lead a rebelion, He would send everyone to steal mirrors so he could bask in his own brilliance." - Out Reach
    "Yeebaagooon had never seen a more handsome man in all his life. He couldn't control himself, He needed to act. Gripping the mirror in his strong arms he kissed the figure before him..." - Out Reach
    AoMH: Unfinished Scenarios|Singleplayer: Codename Ripto|Multiplayer: Minigames Z|CSC 7
    Ex Seraphs Dictator, Spore Heaven Seraph
    posted 02 March 2009 03:08 PM EDT (US)     115 / 2506  
    By the unit ID field right? Not the name?

    I could make that for you when I get some aom time tonight, Yeeb if someone doesn't make it sooner - it's a pretty easy request.

    In all your science of the mind, seeking blind through flesh and bone
    Find the blood inside this stone
    Well, I know I've never shown what I feel, I've always known
    I plan my vengeance on my own - and I was always alone
    posted 02 March 2009 04:05 PM EDT (US)     116 / 2506  
    If you want the QV to be the ID of the source unit (moving one), that is easy. If you want it to be the ID of the target unit... I'll leave it for Elrich
    trUnitMoveToUnit("%DstObject%",%EventID%, %AttackMove%);
    It uses the name, not ID

    edit: what am I thinking, it's easy anyway. Give me a few minutes.

    [This message has been edited by HailToTheOboe (edited 03-02-2009 @ 04:05 PM).]

    posted 02 March 2009 04:06 PM EDT (US)     117 / 2506  
    Yes I mean for the QV ID to be the one the unit is moving to.

    ______________________________________ Yeebaagooon ______________________________________
    ____________________ AoMH Seraph ____________________
    "You can't trust yeebaagooon to lead a rebelion, He would send everyone to steal mirrors so he could bask in his own brilliance." - Out Reach
    "Yeebaagooon had never seen a more handsome man in all his life. He couldn't control himself, He needed to act. Gripping the mirror in his strong arms he kissed the figure before him..." - Out Reach
    AoMH: Unfinished Scenarios|Singleplayer: Codename Ripto|Multiplayer: Minigames Z|CSC 7
    Ex Seraphs Dictator, Spore Heaven Seraph
    posted 02 March 2009 04:31 PM EDT (US)     118 / 2506  
     <Effect name="Move To QV Unit">
    <Param name="SrcObject" dispName="$$22295$$Source Units" varType="unit">default</Param>
    <Param name="DstObject" dispName="QV Unit ID" varType="string">QV1</Param>
    <Param name="EventID" dispName="$$22362$$Trigger" varType="event">-1</Param>
    <Param name="AttackMove" dispName="$$18986$$Attack Move" varType="bool">false</Param>
    <Command>trUnitSelectClear();</Command>
    <Command loop="" loopParm="SrcObject">trUnitSelect("%SrcObject%");</Command>
    <Command>trQuestVarSet("vvvvvvx",xsVectorGetX(kbUnitGetPosition(trQuestVarGet("%DstObject%"))));</Command>
    <Command>trQuestVarSet("vvvvvvy",xsVectorGetY(kbUnitGetPosition(trQuestVarGet("%DstObject%"))));</Command>
    <Command>trQuestVarSet("vvvvvvz",xsVectorGetZ(kbUnitGetPosition(trQuestVarGet("%DstObject%"))));</Command>
    <Command>trUnitMoveToPoint(trQuestVarGet("vvvvvvx"), trQuestVarGet("vvvvvvy"), trQuestVarGet("vvvvvvz"),%EventID%, %AttackMove%);</Command>
    </Effect>
    posted 02 March 2009 04:52 PM EDT (US)     119 / 2506  
    @ HailToTheOboe
    You need to look at all units first. . (You can dismiss it, only when there's an AI running on the background of that player, or when using kbGetBlockPosition())

    The X axis doesn't matter and setting Quest Vars is not really needed.
    -invent00r

    My Work: 1 2 3 4 5 6 7 8 9 10

    WIP: Master XS Battle Micro AI
    Paused: AI (%4.247)
    Os segredos são de quem os souber guardar.
    posted 02 March 2009 05:51 PM EDT (US)     120 / 2506  
    The X axis doesn't matter
    Y-axis.

    If we knew what it was we were doing, it would not be called research, would it? - Einstein, A.
    Master XS - AoM Code Reference - Trigger Loader - Trigger Requests - Chess

    Wow, I never thought that I would actually know something before nottud did... it's actually not all that satisfying ~ Steak
    posted 02 March 2009 06:30 PM EDT (US)     121 / 2506  
    The X axis doesn't matter and setting Quest Vars is not really needed.
    When I did it all in one line, the trigger worked, but I couldn't post it on the forum without spaces being added in the middle so I split it up into several lines.
    posted 03 March 2009 12:10 PM EDT (US)     122 / 2506  
    Thanks Hail but it didn't work. My unit moved towards a corner of the map instead.

    ______________________________________ Yeebaagooon ______________________________________
    ____________________ AoMH Seraph ____________________
    "You can't trust yeebaagooon to lead a rebelion, He would send everyone to steal mirrors so he could bask in his own brilliance." - Out Reach
    "Yeebaagooon had never seen a more handsome man in all his life. He couldn't control himself, He needed to act. Gripping the mirror in his strong arms he kissed the figure before him..." - Out Reach
    AoMH: Unfinished Scenarios|Singleplayer: Codename Ripto|Multiplayer: Minigames Z|CSC 7
    Ex Seraphs Dictator, Spore Heaven Seraph
    posted 03 March 2009 12:39 PM EDT (US)     123 / 2506  
    Use the block get position command because that works for unit names rather than unit IDs. Your getting the two mixed up and working with unit IDs when you ask the user for a unit name input!

    The boy with the mad imagination
    Prepare for the ultimate duel!
    Learn to use all my triggers and what you can do with them. Visit here.
    Find out and download the transform trigger here.
    Play some minigames I have created outside AOM including some 3D games here.
    posted 03 March 2009 04:07 PM EDT (US)     124 / 2506  
    I thought I had posted here? :s.

    @ nottud
    You are the one confused. The ID is inside QV. The name is the selection he uses.

    It still needs to use the function to look at all units first.
    -invent00r

    My Work: 1 2 3 4 5 6 7 8 9 10

    WIP: Master XS Battle Micro AI
    Paused: AI (%4.247)
    Os segredos são de quem os souber guardar.
    posted 03 March 2009 05:04 PM EDT (US)     125 / 2506  
    « Previous Page  1 ··· 3 4 5 6 7 ··· 20 ··· 30 ··· 40 ··· 50 ··· 60 ··· 70 ··· 80 ··· 90 ··· 100 ··· 101  Next Page »
    Age of Mythology Heaven » Forums » Scenario Design » Have a Trigger Request? Post it here!
    Top
    You must be logged in to post messages.
    Please login or register
    Hop to:    
    Age of Mythology Heaven | HeavenGames