• 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.

Ability with similar function to locust ability

Status
Not open for further replies.
Level 10
Joined
Apr 9, 2004
Messages
502
I'm working on a hero which has an ability to create multiple units and stroe them on his back. He also has an activatable ability that sends the units out like locusts to attack units nearby. That's where i'm having trouble.

I can't seem to get the units to constantly move around my hero and attack units when they are in range, and then stop and comebakc when i deactivate the ability.

I wanted to set it up to constantly check if they aren't doing anything (if they are, not to affect them unless they get too far and call them back)

If they get too low health to come back and redock onto my hero (that part ic an do but movement and patroling doesn't work)


anyone know how i can do this or have any diea on how to do some of it?
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
So you're intending to make a carrier system? Hmm... It is possible it will take a high amount of triggers. I haven't tried to make one. The main idea would be patrolling and when they are out of life movement back to the carrier mother. ;) Its a high project and it will take a high amount of coding to reach perfection.

~Daelin
 
Level 10
Joined
Apr 9, 2004
Messages
502
[edit]

I got the carrier ability to work rather well and close to what i thought it would be. It releases the units while a activatble is active and calls them back when i deactivate it. It actually looks pretty sweet. I just a a few things to work at and it'll be up here for all to see. It did take quite a few triggers to make however.
 
Level 3
Joined
Jul 17, 2004
Messages
57
if you are so keen on something like that, view vexorians D2summons and goblin carrier and edit them to what u suppose them.
 
Level 10
Joined
Apr 9, 2004
Messages
502
1) Vex's summons don't work as i;d want them too; the animals do patrol but not constantly and often pause (somethignt hat i don't want) Besides it won't work with my way.

2) The Carrier Ability that someone made was crappy; mine is actually smooth with no bugs. The only thing is i need to learn how to clean it up properly because it doesn't work if i don't (i did clean up some leaks bu i need to fix the rest so it doesn't slow down when it's working)

as for
3) i just have to set them as ward and it works just as good.



Here's how mine works (and it does work)

My hero first creats unis that are housed on his back. These units, you can actually select but you can't order them or anything like that. When he activates an inate that is added when he learns this ability, he stops carting the sentinels and they start patroling around him. If they see a unit, then they attack it and only stop if he get's too far or they take too much damage.

I'm putting this spell up to you can chekc it out after.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Perhaps I already told you this before but if you are having problems with leaks, just try Cubasis' tutorial. A link can be found in the FAQ. It is specifically made to explain memory leaks. Then, if you are having problems with the custom text just post here how the trigger part is and I'll translate it. Or get a separate trigger, put it there and convert.

~Daelin
 
Level 10
Joined
Apr 9, 2004
Messages
502
Ah , so that's the one. You didn't specify before. Anyways, the spells, up, would you care to comment?

[edit] it's seeming to lag quite a bit. I'm not sure of the exact causes however since i have more skills on it as well.

Perhaps you could dl it and look at the triggers and see what's leaking.

BTW i can't find cubasis' thread; i saw i ocne then neevr again.
 
Level 2
Joined
Mar 30, 2005
Messages
14
i think its like what snaky said, you could get the locust unknown ability, and add it to the unit then edit it, or you could get a bunch of regions to follow the hero arround or something, and when the units come out, they will fly back and forth from the regions surrounding him, but that would be harder... :shock:
 
Status
Not open for further replies.
Top