making a transform ability dont know how!!

spirits

New Member
Reaction score
0
the transformation trigger Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to war spirits
Actions
Unit - Remove (Triggering unit) from the game
Unit - Replace (Triggering unit) with a THErapist using The old unit's relative life and mana


well its supposed to transform this hero into another one but instead its replacing it with the original and the new one helpp pleaseee

oh and this is the other hero trigger to transform into the one above

the transformation trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to war spirits
Actions
Unit - Remove (Triggering unit) from the game
Unit - Replace (Triggering unit) with a Maiev using The old unit's relative life and mana
 
Code:
Unit - Remove (Triggering unit) from the game

Why do you remove Triggering unit? No need to add this action. Remove it. The replace action will 'remove' the Triggering unit automatically.


Try this:
Code:
Events
  Unit - A unit Starts the effect of an ability
Conditions
  (Ability being cast) Equal to war spirits
Actions
  If then else
     Condition
        Unit-type of (Triggering unit) Equal to [B]Maiev[/B]
     Then - Actions
        Unit - Replace (Triggering unit) with a THErapist using The old unit's relative life and mana
     Else - Actions
        Unit - Replace (Triggering unit) with a Maiev using The old unit's relative life and mana

Anyway, you can always use Metamorphosis, Bear Form etc... Any reason why not using?
 
well im not using metamorph cause i wanted to have 2 different skill sets (maive is melee and tehrapist is ranged. so they transform into each other)

okay well im looking at your trigger and it says

else replace with the maive?

let me try to explain my spell more clearly. when im maive and cast war spirits it is supposed to transform my hero into the range hero(with different skill set)

your trigger which i havent tried yet says once maive casts the spell then replace with the range hero(the rapist llol)

but your else statment does it have to be there or is it needed?

woah didnt see your bear form idea maybe ill try that if no one else can help

and it works for 2 tries

from melee to range it works then in my range form it works turning into melee but from melee it cant(i think its cause of the thing "equal to maive that has been generarted or placed on map. any way to pick all maives that do it makes the spell go?)
 
Hmmm... Let me explain my trigger.

You have 2 different unit-types, Maiev and Rapist (=.="). Both these units have War Spirits.

My trigger works like:

If Maiev casts War Spirits, then it will morph to Rapist.

Else, if not Maiev cast War Spirit (meaning Rapist because there are no other units having War Spirits besides Rapist), then it will morph to Maiev.


So the trigger should work as I think you wanted?

Edit:
Anyway, to avoid confusion, you can also use this:

Code:
Events
  Unit - A unit Starts the effect of an ability
Conditions
  (Ability being cast) Equal to war spirits
Actions
  If then else
     Condition
        Unit-type of (Triggering unit) Equal to [B]Maiev[/B]
     Then - Actions
        Unit - Replace (Triggering unit) with a THErapist using The old unit's relative life and mana
     Else - Actions
  If then else
     Condition
        Unit-type of (Triggering unit) Equal to [B]THErapist[/B]
     Then - Actions
        Unit - Replace (Triggering unit) with a Maiev using The old unit's relative life and mana
     Else - Actions
 
nvm i see how it works :p
but it works to a point from melee to range then back to melee but it doesnt work anymore
 
> range then back to melee but it doesnt work anymore

Not sure. Could probably be a bug. Also, try to define 'doesn't work'. You could've done something wrong in your trigger. Post your most current trigger.
 
Change triggering unit to "Casting unit

Code:
the transformation trigger Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to war spirits 
    Actions
        Unit - Remove (Casting unit)) from the game
        Unit - Replace (Casting unit)) with a THErapist using The old unit's relative life and mana

Code:
Maiev
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to war spirits 
    Actions
        Unit - Remove (Casting unit) from the game
        Unit - Replace (Casting unit)) with a Maiev using The old unit's relative life and mana
 
Do these units need different skills?
Do they need a cooldown on their transformation skill?

Also as vypur said, you don't need to remove the unit.
 
> Change triggering unit to "Casting unit

This will not make it any better. It may only make it worse. Triggering unit is the best event response used whenever possible.
 
the transformation trigger Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to war spirits
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Maiev 0001 <gen>
Then - Actions
Unit - Replace (Triggering unit) with a THErapist using The old unit's relative life and mana
Else - Actions
Unit - Replace (Triggering unit) with a Maiev using The old unit's relative life and mana

when it says in the if action condition it says triggering unit = to maive is there a way to change maive into all heroes that are maive instead of the spiecific one cause i think thats why its not working after i double switch
 
No wonder... :p You did something wrong. Don't use pre-placed units as comparison in your condition. Use Unit-Type Comparison. In this case, it should be Maiev.

Code:
Event
  Unit - A unit Starts the effect of an ability
Conditions
  (Ability being cast) Equal to war spirits
Actions
 If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  If - Conditions
   [B]Unit-type of (Triggering unit) Equal to Maiev[/B] <-- [I]Maiev!!![/I]
  Then - Actions
   Unit - Replace (Triggering unit) with a THErapist using The old unit's relative life and mana
  Else - Actions
   Unit - Replace (Triggering unit) with a Maiev using The old unit's relative life and mana

Now try to get the above trigger. It should work after that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top