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

Scenario Design
Moderated by Yeebaagooon, TAG, nottud

Hop to:    
Welcome! You are not logged in. Please Login or Register.2502 replies, Closed
Age of Mythology Heaven » Forums » Scenario Design » Have a Trigger Request? Post it here!
Bottom
Topic Subject:Have a Trigger Request? Post it here!
« Previous Page  1 ··· 10 ··· 20 ··· 30 ··· 40 ··· 50 ··· 60 ··· 68 69 70 71 72 ··· 80 ··· 90 ··· 100  Next Page »
invent00r
Mortal
posted 04 October 2007 11:46 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 purpose is only to place trigger request and discuss about them. If you have unrelated questions or need help with triggers, please use OmegasRage 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?
    First of all, you need to have Age of Mythology installed. If you have that, then you are half away done. Now you will need to find your way to your AoM installation folder, and open the trigger folder or the trigger2 folder if you pretend to install the new trigger on The Titans (the expansion). With the notepad, open a file called, typetest.xml - at this point, you need to copy the trigger from this page and paste it there. If you requested a condition, then place it under or under if it was an effect you requested.

    Notes:
    1. Please put the trigger at the end of each list so you can easly remove them and keep the integrity of the typetest file.
    2. When copying the trigger from someone, please click the edit image (), and only then copy the respective effect or condition.
    3. If this is your 1st trigger you're installing, please backup the original typetest file.

  3. So.. How exactly are new triggers done?
    AoM has a built-in engine that can prase XS code. Triggers are programmed and interpreted using this language through a serious 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, usefull triggers - but it does have some limitations...
  4. I want to learn triggers, how do I do that?
    It takes a quite some time, but if you really wish to learn triggers, I recommend fully understanding XS language before you start making triggers, and for that you need to go here - Master XS. If you want to skip all that, and you want to be able to do only simple triggers, read this guide.
  5. Help! My triggers have stopped working!
    Triggers Stop Working Guide. Also using run immediately, linking camera tracks, 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. New triggers for TT v3 by nottud
  7. Conditonal Effects (TT & AoM) by nottud
  8. Angry Levels (TT & AoM) by angryzor
  9. SIMSTools (TT) by angryzor
  10. 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.
Description - Always describe the actions that you want the trigger to perform. Please give atleast one example of use.

Remember that not all triggers are possible but I - and anyone who wants to help me -, will try our best.

Enjoy. .
-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.

[This message has been edited by invent00r (edited 08-15-2008 @ 03:40 PM).]

AuthorReplies:
Brightpup
Immortal
(id: ChaosRobie)
posted 24 June 2008 03:39 PM EDT (US)     1726 / 2502       
Modify Protounits in Unit Class
Modifies units in a given unit class.

Modify Protounits in Unit Class for ALL players
Modifies units in a given unit class for all players.

[This message has been edited by ChaosRobie (edited 06-24-2008 @ 04:01 PM).]

Brightpup
Immortal
(id: ChaosRobie)
posted 24 June 2008 06:42 PM EDT (US)     1727 / 2502       
Been working on this trigger but it crashes every time.
   <Effect name="Modify Supremacy Units For All Players">
<Param name="Field" dispName="Field" VarType="pufield">0</Param>
<Param name="Amount" dispName="Delta" VarType="Float">1</Param>
<Command>for(pu=355;=356;=357;=358;=359;=360;=361;=362;=363;=364;=365 ;=367;=368;=369;=370;=371;=372;=373;=374;=377;=378;=379;=380 ;=385;=387;=390;=391;=392;=393;=394;=395;=396;=397;=398;=399 ;=400;=401;=402;=404;=408;=414;=415;=416;=417;=418;=419;=420 ;=423;=424;=425;=426;=427;=429;=434;=435;=437;=438;=439;=444 ;=445;=446;=447;=464;=465;=469;=471;=472;=473;=474;=480;=481 ;=484;=485;=486;=487;=488;=489;=490;=491;=492;=493;=495;=496 ;=497;=498;=499;=500;=501;=502;=503;=504;=505;=506;=507;=508 ;=509;=510;=511;=512;=513;=514;=515;=517;=518;=519;=520;=521 ;=523;=528;=531;=535;=536;=537;=538;=539;=541;=542;=543;=544 ;=545;=550;=551;=552;=553;=554;=555;=557;=558;=567;=568;=569 ;=570;=571;=572;=573;=575;=577;=578;=579;=580;=581;=582;=583 ;=584;=585;=586;=587;=589;=592;=593;=594;=597;=602;=604;=613 ;=617;=622;=626;=627;=628;=630;=648;=650;=651;=652;=656;=658 ;=672;=673;=674;=675;=676;=677;=678;=686;=688;=689;=690;=691 ;=692;=693;=694;=695;=696;=697;=698;=699;=700;=701;=702;=703 ;=704;=705;=706;=707;=708;=709;=710;=711;=712;=713;=714;=715 ;=716;=717;=718;=719;=720;=722;=723;=724;=725;=726;=727;=728 ;=729;=730;=731;=732;=734;=738;=740;=744;=745;=746;=747;=749 ;=750;=757) {</Command>
<Command>for(p=cNumberPlayers-1;>0) {</Command>
<Command>trModifyProtounit(""+kbGetProtoUnitName(pu), p, %Field%, %Amount%);</Command>
<Command>}}</Command>
</Effect>
D_Bonas
Mortal
posted 24 June 2008 06:50 PM EDT (US)     1728 / 2502       
Maybe it's that ridiculously long line.

Don't pick up the soap! It's a trap!! D:
nottud
Hero
posted 24 June 2008 06:57 PM EDT (US)     1729 / 2502       
The syntax looks abd too.

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.
D_Bonas
Mortal
posted 24 June 2008 07:05 PM EDT (US)     1730 / 2502       
And I think that is a little too long

Don't pick up the soap! It's a trap!! D:
Brightpup
Immortal
(id: ChaosRobie)
posted 24 June 2008 07:10 PM EDT (US)     1731 / 2502       
SwordOfValor
Knight
posted 24 June 2008 08:21 PM EDT (US)     1732 / 2502       
He wants these select units from the protox to be modified but he doesn't know how to put it together.
It's basicly "modify protounits all" with only supremacy units so it doesn't lag as much.

____________
+|||SwordOfValor|||+
A Proud Member Of
0==[==========>
ValorStudios
<==========]==0
Baseballkid14
Mortal
posted 24 June 2008 09:38 PM EDT (US)     1733 / 2502       
If it gives you AoM has stopped working, it's that very long line.

Newest Scenario: Death King RPG
Scenario in Progress: Death King RPG II
Download some awsome new triggers for AoMTT here (made by me)
Proud leader of the Modding project, Star Wars: Eras Engaged. Join us now!
Also a member (and founder) of the new modding studio, Epic Studios!
So do you want to learn how to create your own triggers? Well, now you can!
HailToTheOboe
Bitten by a radioactive ostrich
posted 24 June 2008 09:53 PM EDT (US)     1734 / 2502       
Baseballkid14
Mortal
posted 24 June 2008 10:39 PM EDT (US)     1735 / 2502       
Oh yeah, now that I think of it, you cant use that operator, I think... you could always do for(pu1=355;>365) {
(pu2=367;>380) {
etc. etc. etc.

Just remember to end every loop you begin.

Newest Scenario: Death King RPG
Scenario in Progress: Death King RPG II
Download some awsome new triggers for AoMTT here (made by me)
Proud leader of the Modding project, Star Wars: Eras Engaged. Join us now!
Also a member (and founder) of the new modding studio, Epic Studios!
So do you want to learn how to create your own triggers? Well, now you can!
Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 01:39 AM EDT (US)     1736 / 2502       
Mythic_Freak
Mortal
posted 25 June 2008 09:23 AM EDT (US)     1737 / 2502       
Modify Protounits in Unit Class
Modifies units in a given unit class.
There doesn't seem to be a function that can tell whether ot not a unit belongs to a certain class. So I'm afraid it's not possible. Unless someone wants to manually make some sort of funtion that links every class with all units in it. And that will be very annoying as we don't have array support.

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
degoman
Mortal
posted 25 June 2008 11:13 AM EDT (US)     1738 / 2502       
Hi, im new here. I was looking up tips for making an RPG with the editor an i found this site. Very complete. The problem is that i tried this:

http://aom.heavengames.com/scendesign/advanced/InfiniteLevels

I have AoM with the Titans expasion but i just cant find the trigger "QV stat value" that is mentioned all around and is crucial for doing it. I downloaded the Advanced trigger set, but its not there and i havent found a "Search" button for the forums so i've been unable to find an answer myself.

Please help me with this. Also, my AoM seems to be in english but my titans expansion in spanish since the triggers new in titans have their name in spanish. I say that in case it may be affecting something. I speak both english and spanish, the trigger "QV stat value" doesnt appear neither in spanish nor in english.
Elrich
Hero
posted 25 June 2008 12:39 PM EDT (US)     1739 / 2502       
Would making an array work for Chaos?





<Effect name="Modify Supremacy Units For All Players">   
<Param name="Field" dispName="Field" VarType="pufield">0</Param>
<Param name="Amount" dispName="Delta" VarType="Float">1</Param>
<Command>kbQuestVarSet("aPU1",355);</Command>
<Command>kbQuestVarSet("aPU2",356);</Command>
<Command>kbQuestVarSet("aPU3",357);</Command>
<Command>kbQuestVarSet("aPU4",358);</Command>
<Command>kbQuestVarSet("aPU5",359);</Command>
<Command>kbQuestVarSet("aPU6",360);</Command>
<Command>kbQuestVarSet("aPU7",361);</Command>
<Command>kbQuestVarSet("aPU8",362);</Command>
<Command>kbQuestVarSet("aPU9",363);</Command>
<Command>kbQuestVarSet("aPU10",364);</Command>
<Command>kbQuestVarSet("aPU11",365);</Command>
<Command>kbQuestVarSet("aPU12",367);</Command>
<Command>kbQuestVarSet("aPU13",368);</Command>
<Command>kbQuestVarSet("aPU14",369);</Command>
<Command>kbQuestVarSet("aPU15",370);</Command>
<Command>kbQuestVarSet("aPU16",371);</Command>
<Command>kbQuestVarSet("aPU17",372);</Command>
<Command>kbQuestVarSet("aPU18",373);</Command>
<Command>kbQuestVarSet("aPU19",374);</Command>
<Command>kbQuestVarSet("aPU20",377);</Command>
<Command>kbQuestVarSet("aPU21",378);</Command>
<Command>kbQuestVarSet("aPU22",379);</Command>
<Command>kbQuestVarSet("aPU23",380);</Command>
<Command>kbQuestVarSet("aPU24",385);</Command>
<Command>kbQuestVarSet("aPU25",387);</Command>
<Command>kbQuestVarSet("aPU26",390);</Command>
<Command>kbQuestVarSet("aPU27",391);</Command>
<Command>kbQuestVarSet("aPU28",392);</Command>
<Command>kbQuestVarSet("aPU29",393);</Command>
<Command>kbQuestVarSet("aPU30",394);</Command>
<Command>kbQuestVarSet("aPU31",395);</Command>
<Command>kbQuestVarSet("aPU32",396);</Command>
<Command>kbQuestVarSet("aPU33",397);</Command>
<Command>kbQuestVarSet("aPU34",398);</Command>
<Command>kbQuestVarSet("aPU35",399);</Command>
<Command>kbQuestVarSet("aPU36",400);</Command>
<Command>kbQuestVarSet("aPU37",401);</Command>
<Command>kbQuestVarSet("aPU38",402);</Command>
<Command>kbQuestVarSet("aPU39",404);</Command>
<Command>kbQuestVarSet("aPU40",408);</Command>
<Command>kbQuestVarSet("aPU41",414);</Command>
<Command>kbQuestVarSet("aPU42",415);</Command>
<Command>kbQuestVarSet("aPU43",416);</Command>
<Command>kbQuestVarSet("aPU44",417);</Command>
<Command>kbQuestVarSet("aPU45",418);</Command>
<Command>kbQuestVarSet("aPU46",419);</Command>
<Command>kbQuestVarSet("aPU47",420);</Command>
<Command>kbQuestVarSet("aPU48",423);</Command>
<Command>kbQuestVarSet("aPU49",424);</Command>
<Command>kbQuestVarSet("aPU50",425);</Command>
<Command>kbQuestVarSet("aPU51",426);</Command>
<Command>kbQuestVarSet("aPU52",427);</Command>
<Command>kbQuestVarSet("aPU53",429);</Command>
<Command>kbQuestVarSet("aPU54",434);</Command>
<Command>kbQuestVarSet("aPU55",435);</Command>
<Command>kbQuestVarSet("aPU56",437);</Command>
<Command>kbQuestVarSet("aPU57",438);</Command>
<Command>kbQuestVarSet("aPU58",439);</Command>
<Command>kbQuestVarSet("aPU59",444);</Command>
<Command>kbQuestVarSet("aPU60",445);</Command>
<Command>kbQuestVarSet("aPU61",446);</Command>
<Command>kbQuestVarSet("aPU62",447);</Command>
<Command>kbQuestVarSet("aPU63",464);</Command>
<Command>kbQuestVarSet("aPU64",465);</Command>
<Command>kbQuestVarSet("aPU65",469);</Command>
<Command>kbQuestVarSet("aPU66",471);</Command>
<Command>kbQuestVarSet("aPU67",472);</Command>
<Command>kbQuestVarSet("aPU68",473);</Command>
<Command>kbQuestVarSet("aPU69",474);</Command>
<Command>kbQuestVarSet("aPU70",480);</Command>
<Command>kbQuestVarSet("aPU71",481);</Command>
<Command>kbQuestVarSet("aPU72",484);</Command>
<Command>kbQuestVarSet("aPU73",485);</Command>
<Command>kbQuestVarSet("aPU74",486);</Command>
<Command>kbQuestVarSet("aPU75",487);</Command>
<Command>kbQuestVarSet("aPU76",488);</Command>
<Command>kbQuestVarSet("aPU77",489);</Command>
<Command>kbQuestVarSet("aPU78",490);</Command>
<Command>kbQuestVarSet("aPU79",491);</Command>
<Command>kbQuestVarSet("aPU80",492);</Command>
<Command>kbQuestVarSet("aPU81",493);</Command>
<Command>kbQuestVarSet("aPU82",495);</Command>
<Command>kbQuestVarSet("aPU83",496);</Command>
<Command>kbQuestVarSet("aPU84",497);</Command>
<Command>kbQuestVarSet("aPU85",498);</Command>
<Command>kbQuestVarSet("aPU86",499);</Command>
<Command>kbQuestVarSet("aPU87",500);</Command>
<Command>kbQuestVarSet("aPU88",501);</Command>
<Command>kbQuestVarSet("aPU89",502);</Command>
<Command>kbQuestVarSet("aPU90",503);</Command>
<Command>kbQuestVarSet("aPU91",504);</Command>
<Command>kbQuestVarSet("aPU92",505);</Command>
<Command>kbQuestVarSet("aPU93",506);</Command>
<Command>kbQuestVarSet("aPU94",507);</Command>
<Command>kbQuestVarSet("aPU95",508);</Command>
<Command>kbQuestVarSet("aPU96",509);</Command>
<Command>kbQuestVarSet("aPU97",510);</Command>
<Command>kbQuestVarSet("aPU98",511);</Command>
<Command>kbQuestVarSet("aPU99",512);</Command>
<Command>kbQuestVarSet("aPU100",513);</Command>
<Command>kbQuestVarSet("aPU101",514);</Command>
<Command>kbQuestVarSet("aPU102",515);</Command>
<Command>kbQuestVarSet("aPU103",517);</Command>
<Command>kbQuestVarSet("aPU104",518);</Command>
<Command>kbQuestVarSet("aPU105",519);</Command>
<Command>kbQuestVarSet("aPU106",520);</Command>
<Command>kbQuestVarSet("aPU107",521);</Command>
<Command>kbQuestVarSet("aPU108",523);</Command>
<Command>kbQuestVarSet("aPU109",528);</Command>
<Command>kbQuestVarSet("aPU110",531);</Command>
<Command>kbQuestVarSet("aPU111",535);</Command>
<Command>kbQuestVarSet("aPU112",536);</Command>
<Command>kbQuestVarSet("aPU113",537);</Command>
<Command>kbQuestVarSet("aPU114",538);</Command>
<Command>kbQuestVarSet("aPU115",539);</Command>
<Command>kbQuestVarSet("aPU116",541);</Command>
<Command>kbQuestVarSet("aPU117",542);</Command>
<Command>kbQuestVarSet("aPU118",543);</Command>
<Command>kbQuestVarSet("aPU119",544);</Command>
<Command>kbQuestVarSet("aPU120",545);</Command>
<Command>kbQuestVarSet("aPU121",550);</Command>
<Command>kbQuestVarSet("aPU122",551);</Command>
<Command>kbQuestVarSet("aPU123",552);</Command>
<Command>kbQuestVarSet("aPU124",553);</Command>
<Command>kbQuestVarSet("aPU125",554);</Command>
<Command>kbQuestVarSet("aPU126",555);</Command>
<Command>kbQuestVarSet("aPU127",557);</Command>
<Command>kbQuestVarSet("aPU128",558);</Command>
<Command>kbQuestVarSet("aPU129",567);</Command>
<Command>kbQuestVarSet("aPU130",568);</Command>
<Command>kbQuestVarSet("aPU131",569);</Command>
<Command>kbQuestVarSet("aPU132",570);</Command>
<Command>kbQuestVarSet("aPU133",571);</Command>
<Command>kbQuestVarSet("aPU134",572);</Command>
<Command>kbQuestVarSet("aPU135",573);</Command>
<Command>kbQuestVarSet("aPU136",575);</Command>
<Command>kbQuestVarSet("aPU137",577);</Command>
<Command>kbQuestVarSet("aPU138",578);</Command>
<Command>kbQuestVarSet("aPU139",579);</Command>
<Command>kbQuestVarSet("aPU140",580);</Command>
<Command>kbQuestVarSet("aPU141",581);</Command>
<Command>kbQuestVarSet("aPU142",582);</Command>
<Command>kbQuestVarSet("aPU143",583);</Command>
<Command>kbQuestVarSet("aPU144",584);</Command>
<Command>kbQuestVarSet("aPU145",585);</Command>
<Command>kbQuestVarSet("aPU146",586);</Command>
<Command>kbQuestVarSet("aPU147",587);</Command>
<Command>kbQuestVarSet("aPU148",589);</Command>
<Command>kbQuestVarSet("aPU149",592);</Command>
<Command>kbQuestVarSet("aPU150",593);</Command>
<Command>kbQuestVarSet("aPU151",594);</Command>
<Command>kbQuestVarSet("aPU152",597);</Command>
<Command>kbQuestVarSet("aPU153",602);</Command>
<Command>kbQuestVarSet("aPU154",604);</Command>
<Command>kbQuestVarSet("aPU155",613);</Command>
<Command>kbQuestVarSet("aPU156",617);</Command>
<Command>kbQuestVarSet("aPU157",622);</Command>
<Command>kbQuestVarSet("aPU158",626);</Command>
<Command>kbQuestVarSet("aPU159",627);</Command>
<Command>kbQuestVarSet("aPU160",628);</Command>
<Command>kbQuestVarSet("aPU161",630);</Command>
<Command>kbQuestVarSet("aPU162",648);</Command>
<Command>kbQuestVarSet("aPU163",650);</Command>
<Command>kbQuestVarSet("aPU164",651);</Command>
<Command>kbQuestVarSet("aPU165",652);</Command>
<Command>kbQuestVarSet("aPU166",656);</Command>
<Command>kbQuestVarSet("aPU167",658);</Command>
<Command>kbQuestVarSet("aPU168",672);</Command>
<Command>kbQuestVarSet("aPU169",673);</Command>
<Command>kbQuestVarSet("aPU170",674);</Command>
<Command>kbQuestVarSet("aPU171",675);</Command>
<Command>kbQuestVarSet("aPU172",676);</Command>
<Command>kbQuestVarSet("aPU173",677);</Command>
<Command>kbQuestVarSet("aPU174",678);</Command>
<Command>kbQuestVarSet("aPU175",686);</Command>
<Command>kbQuestVarSet("aPU176",688);</Command>
<Command>kbQuestVarSet("aPU177",689);</Command>
<Command>kbQuestVarSet("aPU178",690);</Command>
<Command>kbQuestVarSet("aPU179",691);</Command>
<Command>kbQuestVarSet("aPU180",692);</Command>
<Command>kbQuestVarSet("aPU181",693);</Command>
<Command>kbQuestVarSet("aPU182",694);</Command>
<Command>kbQuestVarSet("aPU183",695);</Command>
<Command>kbQuestVarSet("aPU184",696);</Command>
<Command>kbQuestVarSet("aPU185",697);</Command>
<Command>kbQuestVarSet("aPU186",698);</Command>
<Command>kbQuestVarSet("aPU187",699);</Command>
<Command>kbQuestVarSet("aPU188",700);</Command>
<Command>kbQuestVarSet("aPU189",701);</Command>
<Command>kbQuestVarSet("aPU190",702);</Command>
<Command>kbQuestVarSet("aPU191",703);</Command>
<Command>kbQuestVarSet("aPU192",704);</Command>
<Command>kbQuestVarSet("aPU193",705);</Command>
<Command>kbQuestVarSet("aPU194",706);</Command>
<Command>kbQuestVarSet("aPU195",707);</Command>
<Command>kbQuestVarSet("aPU196",708);</Command>
<Command>kbQuestVarSet("aPU197",709);</Command>
<Command>kbQuestVarSet("aPU198",710);</Command>
<Command>kbQuestVarSet("aPU199",711);</Command>
<Command>kbQuestVarSet("aPU200",712);</Command>
<Command>kbQuestVarSet("aPU201",713);</Command>
<Command>kbQuestVarSet("aPU202",714);</Command>
<Command>kbQuestVarSet("aPU203",715);</Command>
<Command>kbQuestVarSet("aPU204",716);</Command>
<Command>kbQuestVarSet("aPU205",717);</Command>
<Command>kbQuestVarSet("aPU206",718);</Command>
<Command>kbQuestVarSet("aPU207",719);</Command>
<Command>kbQuestVarSet("aPU208",720);</Command>
<Command>kbQuestVarSet("aPU209",722);</Command>
<Command>kbQuestVarSet("aPU210",723);</Command>
<Command>kbQuestVarSet("aPU211",724);</Command>
<Command>kbQuestVarSet("aPU212",725);</Command>
<Command>kbQuestVarSet("aPU213",726);</Command>
<Command>kbQuestVarSet("aPU214",727);</Command>
<Command>kbQuestVarSet("aPU215",728);</Command>
<Command>kbQuestVarSet("aPU216",729);</Command>
<Command>kbQuestVarSet("aPU217",730);</Command>
<Command>kbQuestVarSet("aPU218",731);</Command>
<Command>kbQuestVarSet("aPU219",732);</Command>
<Command>kbQuestVarSet("aPU220",734);</Command>
<Command>kbQuestVarSet("aPU221",738);</Command>
<Command>kbQuestVarSet("aPU222",740);</Command>
<Command>kbQuestVarSet("aPU223",744);</Command>
<Command>kbQuestVarSet("aPU224",745);</Command>
<Command>kbQuestVarSet("aPU225",746);</Command>
<Command>kbQuestVarSet("aPU226",747);</Command>
<Command>kbQuestVarSet("aPU227",749);</Command>
<Command>kbQuestVarSet("aPU228",750);</Command>
<Command>kbQuestVarSet("aPU229",757);</Command>
<Command>for(p=cNumberPlayers-1;>0) {</Command>
<Command>for(pu=229;>0) {</Command>
<Command>trModifyProtounit(""+kbGetProtoUnitName(kbQuestVarGet("aPU" + pu)), p, %Field%, %Amount%);</Command>
<Command>}}}</Command>
</Effect>

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

[This message has been edited by Elrich (edited 06-25-2008 @ 12:42 PM).]

Baseballkid14
Mortal
posted 25 June 2008 05:10 PM EDT (US)     1740 / 2502       
shouldn't those be trQuestVarSet, not kbQuestVarSet?

Newest Scenario: Death King RPG
Scenario in Progress: Death King RPG II
Download some awsome new triggers for AoMTT here (made by me)
Proud leader of the Modding project, Star Wars: Eras Engaged. Join us now!
Also a member (and founder) of the new modding studio, Epic Studios!
So do you want to learn how to create your own triggers? Well, now you can!
D_Bonas
Mortal
posted 25 June 2008 05:11 PM EDT (US)     1741 / 2502       
wow that is all I have to say

Don't pick up the soap! It's a trap!! D:
Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 06:44 PM EDT (US)     1742 / 2502       
It crashed. I tried doing "tr" but it made all my triggers stop working.

[This message has been edited by ChaosRobie (edited 06-25-2008 @ 06:56 PM).]

Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 07:31 PM EDT (US)     1743 / 2502       
I took Baseballkid14's advice and try this:
<Effect name="Modify Supremacy Units For All Players">   
<Param name="Field" dispName="Field" VarType="pufield">0</Param>
<Param name="Amount" dispName="Delta" VarType="Float">1</Param>
<Command>for(pu1=355;>365) {(pu2=367;>380) {(pu3=355;>365) {(pu4=385;>385) {(pu5=387;>387) {(pu6=390;>402) {(pu7=404;>404) {(pu8=408;>408) {(pu9=414;>420) {(pu10=423;>427) {(pu11=429;>429) {(pu12=434;>435) {(pu13=437;>439) {(pu14=444;>447) {(pu15=464;>465) {(pu16=469;>469) {(pu17=471;>474) {(pu18=480;>481) {(pu19=484;>493) {(pu20=495;>515) {(pu21=517;>365) {(pu22=367;>380) {(pu23=355;>365) {(pu24=367;>380) {(pu25=367;>521) {(pu26=523;>523) {(pu27=528;>528) {(pu28=531;>531) {(pu29=535;>539) {(pu30=541;>545) {(pu31=550;>555) {(pu32=557;>558) {(pu33=567;>573) {(pu34=575;>575) {(pu35=577;>587) {(pu36=589;>589) {(pu37=592;>594) {(pu38=597;>597) {(pu39=602;>602) {(pu40=604;>604) {(pu41=613;>613) {(pu42=617;>617) {(pu43=622;>622) {(pu44=626;>628) {(pu45=630;>630) {(pu46=648;>648) {(pu47=650;>652) {(pu48=656;>656) {(pu49=658;>658) {(pu50=672;>678) {(pu51=686;>686) {(pu52=688;>720) {(pu53=722;>732) {(pu54=734;>734) {(pu55=738;>738) {(pu56=740;>740) {(pu57=744;>747) {(pu58=749;>750) {(pu59=757;>757) {</Command>
<Command>for(p=cNumberPlayers-1;>0) {</Command>
<Command>trModifyProtounit(""+kbGetProtoUnitName(pu), p, %Field%, %Amount%);</Command>
<Command>}}</Command>
</Effect>
It crashes too.
D_Bonas
Mortal
posted 25 June 2008 07:33 PM EDT (US)     1744 / 2502       
That ridiculously long line is the problem that line is way too long.

Don't pick up the soap! It's a trap!! D:
Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 07:39 PM EDT (US)     1745 / 2502       
Baseballkid14
Mortal
posted 25 June 2008 08:07 PM EDT (US)     1746 / 2502       
That's not exactly what I meant. I suggest you take a look at learning how to make your own triggers, check out my guide on my sig! Problems I found;

you started too many loops without ending them. ( { is to start a loop, } is to end one, you need the same ammount)

For each pu, put it on a seperate line.
<Command>for(pu1=...;>...) {</Command>
<Command>for(pu2=...;>...) {</Command>
and remember for each line you have, you should also add 1 more } to the end line.

You refer to pu when you modify the protounit, but that doesn't exist. Only pu1,pu2,pu3, etc. does. So you could use a bunch of different modify protount lines, although that owuld work, ther eis a simpler way that thanks to elrich, I noticed it. Just make one more line that goes like this:
<Command>for(pufake=59;>0) {</Command>
Don't forget to end that loop (}) on the last line. So now that you have pu fake, here is what you want to do to the modify protounit line:

trQuestVarSet("PUFAKE", pufake)
trModifyProtounit(""+kbGetProtoUnitName(pu + trQuestVarGet("PUFAKE")), p, %Field%, %Amount%);



THat should do the trick, if you don't understand that, take a look at my guide!

Newest Scenario: Death King RPG
Scenario in Progress: Death King RPG II
Download some awsome new triggers for AoMTT here (made by me)
Proud leader of the Modding project, Star Wars: Eras Engaged. Join us now!
Also a member (and founder) of the new modding studio, Epic Studios!
So do you want to learn how to create your own triggers? Well, now you can!
Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 08:23 PM EDT (US)     1747 / 2502       
So an example?

[This message has been edited by ChaosRobie (edited 06-25-2008 @ 08:24 PM).]

D_Bonas
Mortal
posted 25 June 2008 08:28 PM EDT (US)     1748 / 2502       
yes

Don't pick up the soap! It's a trap!! D:
Brightpup
Immortal
(id: ChaosRobie)
posted 25 June 2008 09:12 PM EDT (US)     1749 / 2502       
Yes? I mean how the hell do I add this into my existing trigger??? Your telling me how to do stuff but aren't doing it for me.

[This message has been edited by ChaosRobie (edited 06-25-2008 @ 09:14 PM).]

Baseballkid14
Mortal
posted 25 June 2008 10:27 PM EDT (US)     1750 / 2502       
That's because I want you to learn so you can do it next time.

Newest Scenario: Death King RPG
Scenario in Progress: Death King RPG II
Download some awsome new triggers for AoMTT here (made by me)
Proud leader of the Modding project, Star Wars: Eras Engaged. Join us now!
Also a member (and founder) of the new modding studio, Epic Studios!
So do you want to learn how to create your own triggers? Well, now you can!
« Previous Page  1 ··· 10 ··· 20 ··· 30 ··· 40 ··· 50 ··· 60 ··· 68 69 70 71 72 ··· 80 ··· 90 ··· 100  Next Page »
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames