custom ability :/

sqrage

Mega Super Ultra Cool Member
Reaction score
502
ok if any1 ever played FF online there is somthing called rasied this is how it works in thw WCIII case a hero dies its corspe stays there untill the "medic" casts raise on it rasie is supposed to revive the hero and cast time is supposed to be 30 seconds after the hero is revived the reviver will not take control of the unit. plz tell me how to do this ive tried messing with animate dead and other spells but i cant get it right. :( :( :( :mad: :mad: :confused: :confused:
 
Try this trigger:

Event - Unit begins casting an ability

Condition - (Ability being cast) Equal to Resurrection

Action - Change ownership of (target) to (original owner) and Change color




Of course, switch out Resurrection for whatever custom ability you're making, and changing color is at your discretion. With this, you don't have to make a seperate trigger for each player either, just use the target owner variable.
 
Well, start off playing around with the one ability that, in a way, does what you want it to: Resurrection.

Resurrection isn't like Animate Dead. It actually fully revives units it cures. The problem is, it's an AoE non-targeted ability centered around the hero. So you can't choose which corpse to revive.

Anyway, try setting the maximum number of targets revived to 1 instead of 6, so you only revive one character. Then, set the AoE range a lot lower than default, like 100 for about melee range. Make sure the only targets allowed are friendly heros, and then implement the trigger I gave you. This is the result:

You have a hero, Mr. Reviver. Mr. Reviver's friend has just died to creeps, and you want to revive him. So you go stand on his corpse, and you click the button for your new custom ability, Revive. Assuming that the friend you are trying to revive is the only friendly hero within range (which is why the small AoE range, so you can be precise) you should revive the hero, at which point the trigger will immediately give the newly revived unit to the player that originally owned it.

If you want to target this ability, then I can't help you. Finding a targetted revive ability is hard enough without the confounding problem of figuring out how to target corpses.

Hope this helps.
 
thank you 1 more question how do u make it so that when the hero dies his corspe stays there i got this but its not really a corspe its just an unmovable; untargetable clone of the hero


corpse
Events
Unit - Kings Son 0044 <gen> Dies
Conditions
Actions
Unit - Create a permanent Skeletal Kings Son corpse for Player 1 (Red) at (Center of tele to <gen>) facing (Random angle) degrees
 
There's a setting for each unit on how they should handle death. It's called Combat - Death Type and you can set it to, among other things, 'Can raise, does not decay', which I think suits your purposes very well.
 
meh that didnt work it still doesnt create a corspe at all it just shows hit spirit rasie and blood then the blood dissapears
 
I don't know if you can actually make a Hero's corpse to stay...

You could, however, just create some unit at the point where he died,
something that doesn't move, attack, is invulnerable and, optionally,
looks like a tombstone.

Then create some dummy ability that only works on "tombstones",
remember what stone is what hero,
and, when the ability is used, revive the appropriate Hero...
 
umm cool but how do i make the tomestone appear at area of death thats not listed as a proper area only in a region is.
 
hehe i stopped working on that map for like 2 weeks now cuz no1 solved my problems lol :D but now i can continue
 
For creating a unit, a point is enough, don't need a region.

Unit - Create 1 Tombstone for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
 
hmm now that im thinking about it how would i make it so that he can only target a tombstone.. the tomestone would be consisered a unit? then he would be able to target any unit.

hehe but i ignored the problem and moved on to other maps then remeber why i stopped working on it lol
 
Well, units have a "combat - targeted as" field.
Put something somewhat unique there, like "wall, ward".

And have your ability's "targets allowed" to "invulnerable, wall, ward"...

The rest would be a condition in the trigger that says:
(Unit-type of (Target unit of ability being cast)) Equal to Tombstone
 
hmmm how do i make the trigger for that?>
im being noobish today lol :confused: :rolleyes:
 
Unit uses ability
Ability = "resurrect"
Used on "tombstone"
Do something...

All of this depends a bit on your "tombstone", the way you remember the recently deceased Heroes, your resurrection ability, the current phase of the moon, does it rain right now in south-eastern behind somewhat?

Anyway :)

I guess there's a couple of ways of doing this,
but, you may want to have a look at the attached sample map.

If you do, use the Mortar Teams to (really) quickly kill off one of your Heroes.
The Sorceress has "Resurrect".

It's worth a look, I guess ;)

It's a bit involved to type it all up, so, if you have a look
and think this is what you're looking for, and need some help with it,
then...
Well, post back here :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top