As Basic as it gets

G

Guilo

Guest
I don't know how many times I've asked this question in the past and it just seems to keep slipping my mind. I think im pretty close to making it happen, but it just doesn't roll.

I want all units in region 000 to attackmove to region 001 after 13.5 game time seconds have passed.
 
I don't know how many times I've asked this question in the past and it just seems to keep slipping my mind.
... If you have asked this question before, then just go search for those threads :) Lol! :p

Or just browse through the GUI ;)

Code:
E: Elapsed game time = 13.5 seconds
C: [specify here]
A: Pick every unit in [region 000] and order picked unit to attack-move to [region 001]
 
Umm, have you tried making the trigger? you've practically just typed up the trigger in your question, hehe, but here it is:

Code:
Attack-move
    Events
        Time - Elapsed game time is 13.50 seconds
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in Rect 000 <gen>) and do (Actions)
            Loop - Actions
                Unit - Order (Picked unit) to Attack-Move To (Center of Rect 001 <gen>)

Edit~

Oh Shadowy beat me to it, hehe.
 
Yay! This is exactly the question I wanted to ask, in fact its the only trigger I want to use over and over in my map. I'm amazed the tutorials don't mention this, but do have a trigger to res heroes instead..

I want a map where, at intervals, groups of creeps come to kill the player. The trigger editor is a bit confusing at first, I hoped the frozen throne upgrade would add a wizard which knew that this was the most obvious event (heck, Blizzard have 12 of them in every mission they have).

Some of these replies show a structured block of code, which makes it look like you can program it, except you can't just paste that in, you need to specify units.

Here is what I learned so far. Please note a step by step thing is helpful for people who aren't familiar with making maps... the people who are familiar, aren't asking this question.

1) Put your player start on the map, and some groups of enemy units where you want them to set off from.
2) Put in a region for each group of creeps, and name them something like patrol1, patrol2, etc. to refer to later.
3) Make another region for where the player is.
4) Do a trigger as the other replies say in this thread.

Note: I tested this, and the creep came and attacked my starting heroes, then after 5 seconds, ran back. This is because creeps run back after 5 seconds outside their patrol area. I don't know how to fix this.

More expert replies appreciated please.
 
If anyone is following this, I've got a little closer, but we also need some detail in the proper tutorial explaining about the Loop and Picked Unit - took me ages to see that I should select "Picked Unit" at some point. Hope thats an extra clue for anyone else doing proper triggers.
 
This is still an interesting problem. Really, I'd expect some way to drag-select a group of creeps and say "at time=30 secs, move to (click)" and thats it.

However, even with all the detail above, my test had 4 creeps supposed to come kill the heroes in player region. However, they didnt set off, and even after I pulled them, they broke off after some fighting and went home. Grr.

Please help.
 
Seriously, it finally worked but only works when you select one unit and specify it, and it *still* runs home after 5 seconds.
 
Quadruple post = bad. Don't do it, just edit your post.

And if you're a guest and can't do that, why not register? ;)

I'm messing with this myself, and decided just to create the units close to the players, hopefully enough to be in attack range.
 
Er...
First of all >THIS< and >THAT< worth a visit

Then, if you want your creeps to not retreat to their 'base', you need to do something like this

Code:
Event
    Map initialization
Conditions
    None
Actions
    Pick every unit in <Creep base> from <Neutral Hostile> and do
        AI - Ignore <Picked unit>'s guard position

And one more thing... next time would be a great idea to register in TheHelper.
Why? Because this way you can edit your posts and also people will be more helpful with you.

I hope it helped
 
Isn't the creep guard range and duration things in Gameplay Constants? I'm sure I've seen them in there..
 
By the way, I did read the "read this before posting" and other links. I also think posting again with new information is better than editing, otherwise it messes with the meaning of the thread for other people to read. And I followed all the guidelines about posting. And the tutorials don't explain step by step how to do this.

I got it working now anyway. The important thing I missed, for anyone following this and who wants to make it work properly, is that the Action to move the units needs to be inset more than the "Loop" bit, to make sure it gets done for all the units in the loop. I didn't know that but now it works.

Setting all the units to ignore guard distance didn't work. But editing the game constants so the "Guard Return Distance" was 9999 stopped them running back.

Another useful thing to know, since I didn't, is that there is a location option to specify a player start, so you don't need to make a region to target the player, if that's where the creeps are supposed to go.

Also useful is knowing that a whole trigger can be Copy/Pasted, then tweak it. This is great if, say, you want several groups of creeps to come at the player at different intervals, which is what I want.

Reading the other recent posts too, remember that someone is asking something because they don't know how to do it. There are too many replies like "read the manual" or "just figure out how to do it" etc which aren't helpful.
But now that I know more of the basics, the replies earlier make more sense now, so if I had a more complex question and got the same sort of reply it would help more. Thanks to those people who gave an answer.

Take Care,
Corum.
 
Waypoints

Hey guys! I have yet another question so I decided to recycle this thread. I'm attempting to have several units move alone waypoints from point a to point b to point c, but once they reach point a, some units just stop and are left behind. Any answers to this? Please respond, I've attached my map ( triggers are messy I've been doing much experimentation) Thanks!
 

Attachments

  • SouthWestfall.w3x
    78.9 KB · Views: 127
Post your triggers. Then we can see what's wrong.
 
OK, I figured out what's wrong. For each of your waypoint triggers, change the action to "Order entering unit to move to (the next waypoint)." Obviously, don't make this the action for the trigger that starts the villagers moving in the first place, that one's fine.
 
Sargon thanks a bunch bud, it still leaves one unit in each of the waypoints but I think I will play arond with it and try and maybe make a backup trigger or something or another. Who knows. Thanks again though it works a lot better.
 
can you post your trigger?
 
I'm pretty sure its on the previous page basically how that person had it set up but once I can finish doing what I need to do I'll pop it up
 
My trigger for one of the points is:

Events
Unit - A unit enters Way1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 10 (Light Blue)
Actions
Unit Group - Pick every unit in (Units in Way1 <gen>) and do (Unit - Order (Entering unit) to Move To (Center of Way2 <gen>))
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Luckily I live in an age with electricity so it's way fucking faster, but when I was just a boy trying to find my place I had some hardcore chefs that made use do things like that by hand. It is WAY easier to get right by hand because you control it and can feel it, but it takes soooooo much longer. And on the scale a modern kitchen requires... I serve 400-500 guests on average per day right now, if I had 100 then we could do things way better
  • Varine Varine:
    But we can't do that. In the winter yeah, but I HAVE to get people through here right now so I can afford the staff that we CAN do that. We have about 100 days of summer, and if that summer doesn't make us what it will, then I can't operate the other most of the year with my staff. The owner is talking about closing two days a week to cut down on labor, I told him he should cut down on vacations and it did not go great. I do think I won though, I have to keep my fucking core staff and they have to be gainfully employed
  • Varine Varine:
    Sure some of them might take a second job, but I can't just cut my entire staff to unlivable hours, nor can I can cut them off all winter if I want them to come back.
  • Varine Varine:
    And also, there is no fucking way I'm pulling these hours come september. I only do this right now because I have to, the second I don't have to be the one doing it I won't be
  • Varine Varine:
    I have a 5 person core staff in the kitchen, not including me or Chef Ben
  • Varine Varine:
    Though two of those people are likely not making it this year. One of them has been replaced, the other I am kind of trying to. He's being a giant bitch, today I had to get onto him because in the three hours before I left he had taken like thirty minutes for cigarette breaks
  • Varine Varine:
    And he was also complaining to me the other day that he was out of weed so couldn't smoke any before work that day, and was confused about why I was annoyed he was telling me, his boss, that he is smoking weed everyday before work.
    +1
  • Varine Varine:
    Like yeah I can tell. I don't need to fucking know.
  • Varine Varine:
    So now he's getting scrutinized and will not be top of the list. I know I don't have the smartest people but I do expect them to have some common fucking sense
  • Varine Varine:
    I did do a rare thing for me and hire a girl last month without warning. Everyone was made at me because I started her at like 21, but she worked with me before and I was like don't care. She made 19 at her old job and I wanted her to come work with me, she is the best
    +1
  • Varine Varine:
    I'm going to get her a raise at the end of the summer. She wants to go to school again, but I want her to still work with me so.... she kind of can just tell me what the price is. I can go to 25 if she keeps up. I need to get her onto line more, that's what she wants, but I need her where she is and it's not fair that she doesn't get the little bit of raise that comes with it. She can do it no problem, I've worked with her there.
  • Varine Varine:
    It's just hard to move and train people unnecessarily right now. And also the line fucking sucks, it's not any more fun. This is turn and burn so I have the bankroll, and everyone suffers for it
  • Varine Varine:
    Eventually we'll get it balanced, we'
  • Varine Varine:
    we're starting online orders and stuff, but I also turn that off all the time because I barely keep up trying to be the best at Sysco shit
  • Varine Varine:
    I think it's gonna be a good fall and winter though. We're going to have a good staff, they will get along, they will be able to manage the workload and the complications, they know how to really cook this year, like every person on line knows their steak temps. Some of them use thermometers a lot and they don't always use them right, but they do know how to do it. Failure, especially in this field, is the only way to get better. They'll get it
  • Varine Varine:
    They won't get feel down while they do the thermometer, but we didn't have an instant read probe when I was learning. Like they did but god knows how off it is, you HAD to do it by feel. Even if the chef was fine with me bringing my own, it takes too long. Poke and know
  • The Helper The Helper:
    420 threads in the Artificial Intelligence forum :)
  • The Helper The Helper:
    Happy Monday!
    +1
  • The Helper The Helper:
    and then it was Tuesday!
    +1
  • The Helper The Helper:
    fyi I am going out of town to lake somewhere in bfe texas for the weekend will be gone Friday morning to sunday afternoon for a paranormal thing and some rest peace
  • jonas jonas:
    cool take it easy
  • jonas jonas:
    I recently had an experience with a waiter that really brought down @Varine's point about them being in sales. The first waiter just asked "anything else? deserts?" and when the table shook their head said "ok" and left. Then the other waiter came in and started going off describing the deserts and you could see the heads turning, and they finally got a bunch of deserts
  • jonas jonas:
    makes sense if you consider that the tip is basically a commission on sales

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top