Talk:Custom Effects

From AgeofWiki

Adding effects

Have you created an effect that isn't on this list? Well now is your chance to share it with others. All you need to do is post the XML code here, we'll do the rest. Also, don't forget to sign you posts property by adding ~~~~ after the code!


New codes

EXAMPLE:

 <Effect name="ARMY Change Name">
    <Param name="SrcArmy" dispName="$$22348$$Army" VarType="group">default</Param>
    <Param name="NewName" dispName="$$23784$$Name" varType="stringid">Name</Param>
    <Command>trArmySelect("%SrcArmy%");</Command>
    <Command>trUnitChangeName("%NewName%");</Command>
 </Effect>

--Papaya 14:42, 24 Dec 2005 (EST)


Talk

Could someone who is in charge of this page delete the effect "Unit Clear Selection" and add "Deselect Units" instead? At the moment "Unit Clear Selection" redirects you to Deselect Units.

Thanks --Grün 10:59, 17 Dec 2005 (EST)


The link to Deselect Units is Deselect_Units. The current one in the list doesn't work. --Grün 05:46, 24 Dec 2005 (EST)

Ya, I was going to fix it, but I ran out of time last night. I'm going to move the Deselect_Units page to deselect_units so it will match the other effects. --Papaya 09:50, 24 Dec 2005 (EST)

Does anyone know a code for making an wait effect that will wait for a certin ammount of time than once the time is done the rest of the effects will continue? -anonymous

Just use a new trigger with a timer condition. --Oddy 08:30, 5 Mar 2006 (EST)