• 0

    posted a message on Unit Selection

    Hey everyone :)

    I have some issues with the Unit Selection:

    Lets say, i want to always select two units at once. Well as you might suggest, its no problem to create a trigger, that always selects both units, when one is selected. Thats whats works.

    The thing that not works is, that if i got these two units selected and click on one of them, i deselect this unit and can control the other unit alone. I also tried to create a Deselect trigger, but i want both units selected if i click on one of them and not to select, deselect and select again.

    I'd be glad to hear some ideas from you guys :)

    i have a solid knowledge on c and java, so you can also lay galaxy scripts on me :)

    Posted in: Galaxy Scripting
  • 0

    posted a message on Create Groups with script

    Hey

    Thank you very much!

    The only problem i got is, that i cant set the Custom Value of the Unit to the Integer.

    Unit

    - Set unit1 custom value 0 to 100.0
    

    the "0" can be set as any integer, but the 100.0 cant be replaced by an integer

    Posted in: Galaxy Scripting
  • 0

    posted a message on Create Groups with script

    Hey guys!

    I need help on a map i'm working on. I want the game to automatically group lets say the last 3 created units.

    The issue i got is, that i can only create group variables static and not dynamic. The best thing would be if i could acces a group through the units in it.

    maybe you have an idea how this could work. If you got further questions, just ask!

    btw: dint found any related topic in search

    pnx

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.