Hero stat exchange

Steve

Member
Reaction score
3
Ok so in this map im making with a friend you start with an egg that hatches after 3 minutes and spawns a creature from a unit group. In the 3 minutes you can boost the stats of the egg with tomes and or items. The problem we have is transefering the stat gains to the unit that gets spawned after 3 minutes.

EXAMPLE:

EGG:
Str 5
Agi 5
Int 5

SPAWNED UNIT-
Str 5+5(the stats from the egg)
Agi 5+5(same as above)
Int 5+5(same as above)

Can anyone tell me how to do this? thanks.
 
O

Orcses

Guest
If you set the custom value of the unit created to the custom value of the egg would that work anyone?
lol I didn't really help you any steve but someone will;)
 

Duwenbasden

Ver 6 CREATE energy AS SELECT * FROM u.energy
Reaction score
164
yep... custom values seems reasonable -- xxxxxx 6 digits custom value, first two for STR, middle for AGI, last for INT.
 

TheCrystal

New Member
Reaction score
36
Couldn't you have the EGG a hero? All you need to do is have it be like, Castable.

For example, First you use a ability that changes the looks of the hero (Don't ask how, maybe a Metamorphosis?) You give a Hero Egg about 5 STR tombs, and it increases its stats to 5 agi, 10 STR, and 5 Int. Now, after three minutes, the egg will Hatch and do whatever. It should work fine.
 

Steve

Member
Reaction score
3
you cant use meta because the unit model is chosen at random. As for the custom values ill give it a shot.
 

Steve

Member
Reaction score
3
how would I go about setting up the custom values? A little new to that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Which company do you work for?
  • vypur85 vypur85:
    Haha yea they'd compare my country as well...
  • vypur85 vypur85:
    Hmm i don't receive any pm? Maybe I'm using my phone. Gonna check it out using my pc later.
  • vypur85 vypur85:
    I'm teaching A Levels in a school in Wuhan.
  • jonas jonas:
    You should see a "private conversations" tab in the chatbox, that's where I sent it to you
    +1
  • jonas jonas:
    Wow
  • jonas jonas:
    Is the school system in your country similar to Chinese school system? I could never imagine being a teacher in a Chinese school, what's expected of students and teachers is just so different from what I'd be looking for as a teacher
  • vypur85 vypur85:
    A Levels is based on the UK syllabus offered internationally. So the syllabus is similar throughout different countries, taught in english.
  • vypur85 vypur85:
    I can't speak or write or read much chinese... Too difficult....... Which also makes my life here in china a lil difficult.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.

    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