Plz help ! I cant keep it meele for my ai

megaddd

New Member
Reaction score
1
How can i make an enemy unit 1 random picked unit (couse my MEELE map ai has random races and if i make himalready have a builder it might differ in its race and it wont be meele ai script no more(allit will do is harvest from its goldmine)) made by start location build a structure at a region then when he finishes another at different region ? I rly tryed everything and im not so experianced so PLZ HELP!

**EDIT** also how can i make an "income" trigger to give an ammount of gold every *.** ?
 

T3rm1nat0r

New Member
Reaction score
23
1. I think when you start a new map and make it melee it is alredy AI in the trigger editor.

2.
Code:
Untitled Trigger 001
    Events
        Time - Every 25.00 seconds of game time
    Conditions
    Actions
        Set Income[1] = (Income[1] + 20)
        Set Income[2] = (Income[2] + 20)
        Set Income[3] = (Income[3] + 20)
        Set Income[4] = (Income[4] + 20)
        Set Income[5] = (Income[5] + 20)
        Player - Add Income[1] to Player 1 (Red) Current gold
        Player - Add Income[2] to Player 2 (Blue) Current gold
        Player - Add Income[3] to Player 3 (Teal) Current gold
        Player - Add Income[4] to Player 4 (Purple) Current gold
        Player - Add Income[5] to Player 5 (Yellow) Current gold
        Game - Display to (All players) the text: Income has been giv...
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
why so complicated??
Code:
Untitled Trigger 001
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        Player - Add 1 to Player 1 (Red) Current gold
 

megaddd

New Member
Reaction score
1
Thx, but i wanted to make one random enemy ai's builder (peun.peasant.acolyte,whisp)
To build a "energy gather tower" (made by me) ive made a "serpent ward" generator based offgold mine to make my (anemy) ai get more gold and attack me withmore troops couse its really inballanced couse ive got a spell that launches 5 homing misiles (based off from himing misile in these forums)
and its realy imballanced now.

**EDIT** How can i change food icon at the resourses table at the top to another one ?

***EdIT*** LOL how did u terminator guessed that i have 4 ai's :D ???
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
under advanced>gameplayconstants and search for the icon you need
you'll have to make an AI or to trigger it
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top