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

Help on making spells.

Status
Not open for further replies.
Level 2
Joined
Aug 15, 2014
Messages
8
1)

I'm kindof new to the World Editor, but I feel like I have a basic grasp of triggers and ability making.


However, that doesn't seem to be enough for what I want to do. I want to make an ability allows my hero to hide (aka go into, the ship cargo load thing) into barrels.

I've already made my custom ability dummy, using the channel as a base. I'm not sure if that is what I SHOULD do though, since there is already an ability load. The reason I didn't want to use the already build-in one is because I don't know how to make my hero cast it, and than go into the barrel; the normal load would probably be something like *click on barrel, press load on hero* which I do not want.

What I am having trouble with doing is interacting with the barrels in the map. Do I have to spawn the barrels using trigger, or is there a way I can interact with them?

The only alternative I can think of is that I make a unit called barrel, and than give him the load ability and make it player one's. When player uses load ability, it would activate the ability on the barrel closest in a circle and load him in.
--------------------------------------------------------------------

2)

I'm making a spell that will fire a projectile and it would "lure" (like Axe's berserker call) on that area. I have two problems here:

1) Creating the lure skill. I THINK I saw somewhere inside there is already a lure skill, but for the love of God I can't find it. If there is one, where is it?

2) Making the units do the order before it was lured. This one...I'm totally stumped.

This is a single-player map I'm doing, so workarounds to create the intended effect is fin. I just ...don't know how to call the unit to do what it did before being lured.

--------------------------------------------------------------
And I do not, nor intend, to learn and use JASS for this. I shouldn't need to, I would expect.

Thanks for taking your time in reading, and thanks even more if you decide to help me.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
1) A way without any trigger would just be to look at the goblin zepelin and make a new unit which looks like a barrel (as you already said). What you maybe don't know is that you can just right-click with your hero on said barrel (goblin zepelin in disguise) and the barrel will load the hero. Also you can specify a lot of other parameters when you look at the load abilities, like range, capacity, allowed units..

2) I don't take requests, you're better off in the request section if you can not figure it out. Generally I have the most fun when getting behind a problem by myself.
1) There are two abilities which might fit your needs, Taunt and Monster Lure.
2) You have to use triggers for this that save the orders, not a trivial task. I don't think that there is an existing resource for this.
 
Level 2
Joined
Aug 15, 2014
Messages
8
1) I've made it, now the problem I have is that I can select it when I drag a box over it. I've tried adding locust to it, but that would just disable the ability. I've also tried just setting the unit to a neutral passive, but that didn't work. Is there anyway to make it so that if I right click, I can go into the barrel; but if I drag a box, it doesn't become selected?

2) I'm not asking for someone to make this. I just need help with the psuedo-code. I guess its too much effort to create this.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Hm, for 1) I did not know that you don't want it to be selectable. I guess you should use some trigger workaround. For example making the barrel a normal destructible and placing a hidden loader unit at the barrel. When the hero rightclicks the barrel and the distance is small enough, order the hidden load unit to load the hero.
 
Status
Not open for further replies.
Top