• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Request] A link to ...

Status
Not open for further replies.
Level 6
Joined
Jul 15, 2008
Messages
79
I need a link to an IA tutorial, or to something that makes my Blood Elves and Demons fight like in Dota (periodically sent of Units, that attacks each other and enemy buildings/towers).
Thanks, now I'm going in the bathroom, back in a sec :grin:.

I'll include my thanks and +rep.
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
1) It's not called a movement like in DotA but an AoS (It's a map type and DotA didn't invent it.. xD)

2) You cant give reputation because you dont have 10 reputation.

3) IDC, I'm going to help anyway.

Oke here is how to do it.
- You need to create regions to spawn units and to move the units.
(Once a unit enters a region it will be send to the next region.)

A example is here:

To spawn the units.

  • Spawn
    • Events
      • Time - Every 20.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of Spawn <gen>) facing Default building facing degrees
Now to attack-move the units, btw the condition is there to only move units owned by player red (spawned units are in his control if you look at the first trigger.)

  • Movement1
    • Events
      • Unit - A unit enters Spawn <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Order (Entering unit) to Attack-Move To (Center of Move 1 <gen>)
And to finish it we move them again to the last region.

  • End
    • Events
      • Unit - A unit enters Move 1 <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Order (Entering unit) to Attack-Move To (Center of End <gen>)
--------------------------------------------------------------------------

I made the triggers as easy as possible because this is a very easy trigger, no offence but if you can't make this out of your mind by looking then I wont bother you with leaks. :p

You can do this with as many regions as possible.
 
Level 6
Joined
Jul 15, 2008
Messages
79
When I'll get my new PC, I swear, I'll give you some rep.

First of all, I asked for an AI, I'm a monster with Triggers. AI is much more complicated and I wanted to use it for its security, I'm talking of no leaks and no needs of variables. in some cases.

Btw, I looked like a noob, cuz I writed everything so fast, without thinking of how it could look to others. I know that Dota doesn't invented it. AoS = Aeons of Strife.
I'm a really good mapmaker and I'll prove you when my map will be finished.

Thanks for your support, but if I wanted to make it with triggers, no problem for me.
I could do the trigger like you did, then make a Periodic Event that would sent the units...

Well I think I have to do it with triggers, if Dota's makers made it with triggers I think it should be enough good to work properly...Thanks again!
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
Basicly an AI is GUI based (or JASS), using the AI editor will get you no where as far as I know. xD
Also that tutorial uses the same trigger (kinda) but it has variables to prevent some leaks.

I could also re-do the trigger I made to add variables but if what you say is scorrect then u already know how to.
Example: CenterSpawn (Point Variable) = Center of Spawn

I gues you can also add those units that get spawned into a unitgroup, and when a unit enters that region is in that unitgroup he gets send to the next point.

Anyway, that's up to you. :p
 
Level 6
Joined
Jul 15, 2008
Messages
79
Thanks, I almost finished to terrain the Blood Elves side.
I think I should make unitgroups upon spawn, yeah, that seems to be a good idea. Thanks.

I'll need Jassers for the spells, and also some iconers...
I think I'm good enough to make up the terrain, the triggers...and so on. I'll use Hive's models...they're good enough.
 
Status
Not open for further replies.
Top