[Andrewgosus problem section]

Sooda

Diversity enchants
Reaction score
318
My gathering resources (oil) are in early stages.
Tryed things:
Gave Harvest(Neutral) to Naga Royal Guard, they swim and can take gold from gold mine what is on other side and between there is water, but if they want to take resources back to base they get mental barrier ( They don' t want to go water anymore :D )
Conclusion: Needs more tests :p
Tests results: They can gather resources and swip trough water wery well but they are slowminded and try to get there by other ways first if they realize there isn' t any other way they will go into water and continue their orders with out any interaction.
Someone really could help you out with that I don' t know good way to do it right now but I try as well.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Nice, tell me if you have got something.


Meanwhile, another problem, when I try to reduce the map size it tell me
Code:
the full map size must be multiple of 32 in both dimension

???
 

lllidan

New Member
Reaction score
22
Yeah. A multiple of 32 would be like 32, 64, 96, etc.

Has to fit those rules, though you can always use boundries to cut out unnecessary parts.
 

Sooda

Diversity enchants
Reaction score
318
I haven' t tryed oil gathering for a while, maybe someone else can think good idea how to do it ?
Needed things:
Boat (like pesant)
Harbor (like townhall)
oil spot (like gold mine but on water)
Boats should bring gathered oil back automaticaly.
* Boats can' t gather gold beacause oil is stored in variables and gold, lumber, food is nessesary things ( It is melee map )
^ When I did it it seems not so hard at all :)
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
...How do I add players into a player group?

Like players 1-5 are in unit PlayerGroup_bad?

Code:
Melee Initialization Copy
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in Playergroup_Bad and do (Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Region 000 <gen>)
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> How do I add players into a player group?

Have a look at the "Player group" actions.
There would be one like "Player group - Add player to player group"...
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
I found something wierd about regions, can someone tell me how to solve it?

Code:
Thrall
    Events
        Unit - A unit enters Thrall <gen>
    Conditions
        (Thrall <gen> contains (Triggering unit)) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Triggering unit) is A Hero) Equal to True
            Then - Actions
                Unit - Change ownership of Thrall 0001 <gen> to (Owner of (Triggering unit)) and Change color
                Unit - Change ownership of Circle of Power 0039 <gen> to (Owner of (Triggering unit)) and Change color
            Else - Actions

When the unit enters the region from left, it works, when it enters from the right,below,above, it wont work. If I flip the region, it works when the unit enters from right and it wont work if it enters from anywhere else and so on.

Has anyone had a same problem before?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> (Thrall <gen> contains (Triggering unit)) Equal to True

Presumably, that condition isn't needed on an event that waits for something to enter that region.

But, yes, "enters region" doesn't necessarily mean "inside".
It mostly does, but not always.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Well... the condition isn't needed...

Given this Circle of Power is already on the map, you could use the "unit in range" event and forget the region.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Ill try it.

EDIT:

That worked, but I need to change back the unit after it leaves the circle. How could I do that? Is there a "unit leaves the range of a unit" option?:p
 

Sooda

Diversity enchants
Reaction score
318
I have no idea about what you all are chating, Thrall ? Who is he ?
Maybe you could try when unit comes to range of unit then for example it is with radius 256. When he tryes to leave make unit comes to range of unit what is 356. I have feeling it would not work coz he is in rane already.
Or you could give your circle of power two blank passive abilities what have buff with no effect just buff and first buff is with greater range and another is with smaller then when unit gets buff what has smaller range that means he is near it and if he gets other buff it means he has moved away from circle.
Off-topic: Btw Blueberry movie from ETV was really good !
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Sooda said:
I have no idea about what you all are chating, Thrall ? Who is he ?
Maybe you could try when unit comes to range of unit then for example it is with radius 256. When he tryes to leave make unit comes to range of unit what is 356. I have feeling it would not work coz he is in rane already.
Or you could give your circle of power two blank passive abilities what have buff with no effect just buff and first buff is with greater range and another is with smaller then when unit gets buff what has smaller range that means he is near it and if he gets other buff it means he has moved away from circle.

Ill try to fix the regions thing. Yea, the range thing is kinda fishy.

Meanwhile:

Code:
Cave1d
    Events
        Unit - A unit enters Region 031 <gen>
    Conditions
        ((Triggering unit) is A ground unit) Equal to True
    Actions
        Unit - Hide (Triggering unit)
        [B]Game - Display to (All players matching (((Triggering unit) is A ground unit) Equal to True)) for 4.00 seconds the text: |c00ffcc00Wait, unt...[/B]
        Wait 4.00 seconds
        Unit - Move (Triggering unit) instantly to (Center of Region 030 <gen>)
        Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region 030 <gen>) over 0.10 seconds
        Unit - Unhide (Triggering unit)

Does the action in bold display the message only to the triggering player with the unit or to all the players?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> after it leaves the circle.

Well... put a region, and a second trigger with "unit leaves region"... :p
The region should be somewhat larger than the range you're currently testing for.

> All players matching (((Triggering unit) is A ground unit) Equal to True))

Triggering unit is for sure a ground unit since you're already testing for it.
With any luck, the game will ignore it since it doesn't use any players, but... it might just add them all...

Game - Display to Player group (Owner of (Triggering unit)) the text ...
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Something like this?

Code:
SetCave
    Events
        Map initialization
    Conditions
    Actions
        Set CaveUnit = (Owner of (Triggering unit))

Code:
Cave1a
    Events
        Unit - A unit enters Cave1 a <gen>
    Conditions
        ((Triggering unit) is A ground unit) Equal to True
    Actions
        Unit - Hide (Triggering unit)
        Game - Display to (Player group(CaveUnit)) for 4.00 seconds the text: |c00ffcc00Wait, unt...
        Wait 3.00 seconds
        Unit - Move (Triggering unit) instantly to (Center of Cave1 b1 <gen>)
        Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Cave1 b1 <gen>) over 0.10 seconds
        Unit - Unhide (Triggering unit)
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Game - Display to (Player group(Owner of (Triggering unit))) for 4.00 seconds the text: |c00ffcc00Wait...



"Map init" has no triggering unit / player.
And, it also wouldn't change when a unit actually triggers your event...
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Yeap, my bad

Code:
Cave1d
    Events
        Unit - A unit enters Region 031 <gen>
    Conditions
        ((Triggering unit) is A ground unit) Equal to True
    Actions
        Unit - Hide (Triggering unit)
        Game - Display to (Player group((Owner of (Triggering unit)))) for 4.00 seconds the text: |c00ffcc00Wait, unt...
        Wait 4.00 seconds
        Unit - Move (Triggering unit) instantly to (Center of Region 030 <gen>)
        Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region 030 <gen>) over 0.10 seconds
        Unit - Unhide (Triggering unit)

got it working.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
The part in bold refuses to work. Any ideas? Should I make a varible and set it to last created unit?

Code:
GoinJail
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to Peon
    Actions
        Game - Display to (Player group((Owner of (Triggering unit)))) for 5.00 seconds the text: |c00ffcc00You have ...
        Wait 2.00 seconds
        Unit - Create 1 Peon for (Owner of (Triggering unit)) at (Random point in Region 034 <gen>) facing Default building facing degrees
        Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Last created unit)) over 1.00 seconds
        [B]Unit - Set (Last created unit) movement speed to 0.00[/B]
        Unit - Make (Last created unit) Invulnerable
        Wait 10.00 seconds
        Game - Display to (Player group((Owner of (Triggering unit)))) for 5.00 seconds the text: |c00ffcc00Wait for ...
 
D

Dino.pl

Guest
Try changing minimum movement speed in game constants.

> Anyway, is it possible to create a floating text for only one unit group which sees it?
???
Floating text that only one unit group can see?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top