Replacing a hero

l)emonStorm

New Member
Reaction score
3
i have two heroes with the same model file, but one flies and one does not. when the flying hero enters a region, i want it to turn into the one that cannot fly, but the user not to see any obvious flaws in this. Everything works well except for the fact that i cant seem to find a way to transfer the original hero's abilities to the new hero so the user doesnt have to re-teach the hero its abilities. Here is my trigger:
Code:
    Events
        Unit - A unit enters Gate 1 <gen>
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Entering unit)) Equal to Elemental Master (air)
    Actions
        Unit - Order (Entering unit) to Move To (Center of hero land region 1 <gen>)
        Animation - Change (Entering unit) flying height to 0.00 at 1.00
        Wait 1.50 seconds
        Unit - Replace (Entering unit) with a Elemental Master (ground) using The old unit's relative life and mana
        Hero - Set (Last replaced unit) experience to (Hero experience of (Entering unit)), Hide level-up graphics
        Hero - Give (Item carried by (Entering unit) in slot 1) to (Last replaced unit)
        Hero - Give (Item carried by (Entering unit) in slot 2) to (Last replaced unit)
        Hero - Give (Item carried by (Entering unit) in slot 3) to (Last replaced unit)
        Hero - Give (Item carried by (Entering unit) in slot 4) to (Last replaced unit)
        Hero - Give (Item carried by (Entering unit) in slot 5) to (Last replaced unit)
        Hero - Give (Item carried by (Entering unit) in slot 6) to (Last replaced unit)
        Unit - Order (Last replaced unit) to Move To (Center of Hero move region 1 <gen>)

Any help is appreciated.
 
Trigger, you only need 1 unit
Event-
A unit enters (your region)
Condition-
(Unit type of triggering unit equal to (your unit))
Action-
Unit-Set Triggering Unit's height to 0 over 0.5 seconds
Unit-Add classification is a ground unit to triggering unit
Unit-Remove classification is a flying unit from triggering unit
Wait 1 second

The trigger for getting out is just the reverse (add height change to flying remove ground)

The wait is just in case the unit gets stuck in between and keeps changing.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • 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 Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top