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.4 replies
Age of Mythology Heaven » Forums » Scenario Design » A.I Matters!
Bottom
Topic Subject:A.I Matters!
Solgudguy
Mortal
posted 30 May 2020 12:22 PM EDT (US)         
Hello guys, i'm having a conclusion about my new scenerio, this map got 3 vs 3 combat design, and you can even switch between your other two allies, i've made it by trigger even it was so complex at first [thanks to my tricky brain ], so the problem is, i set the other allies with ai in case they need to progress fast with the player, but this gets messy while switching, you cannot command the villagers to work because they will soon turn back, i had to click the right-mouse button more than 60 times to make them build a temple! i mean that's ridiculous! is there a way to prevent this? i need help with this, after i finish my project i will upload this and let you test it, thanks in advance
AuthorReplies:
Yeebaagooon
EXCO Emeritus
posted 30 May 2020 02:12 PM EDT (US)     1 / 4       
There is indeed, thanks of course to nottud. This will nullify the AI of the player you select.
<Effect name="AI set blank AI">  
<Param name="Player" dispName="Player" VarType="string">0</Param>
<Command>aiSet("NoAI", %Player%);</Command>
</Effect>

______________________________________ 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
Solgudguy
Mortal
posted 31 May 2020 05:06 AM EDT (US)     2 / 4       
Thanks for the answer, but where shall i put these parameters?
nottud
Hero
posted 31 May 2020 05:40 AM EDT (US)     3 / 4       
If you open up your typetest.xml file in triggers2 folder you can add the trigger effect at the button following how the rest are in the file. Then launch the game and you will have the extra trigger.

[This message has been edited by nottud (edited 05-31-2020 @ 09:34 AM).]

Solgudguy
Mortal
posted 01 June 2020 07:05 AM EDT (US)     4 / 4       
nottud is the new prometheus!
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames