XP generating building, whelp.

Str4ndb3rg

Cool Member
Reaction score
0
Want the hero of the user to gain experience from a tower.

Copy and pasted just to see if it worked and it didnt.

Code:
Income GoldMine
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        Set GoldMineIncome = (Units of type XP Gainer)
        Unit Group - Pick every unit in GoldMineIncome and do (Actions)
            Loop - Actions
                Hero - Add 50 experience to (Triggering unit), Hide level-up graphics
                Floating Text - Create floating text that reads +XP above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
                Floating Text - Change (Last created floating text): Disable permanence
                Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
                Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
        Unit Group - Remove all units from GoldMineIncome
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,491
> Hero - Add 50 experience to (Triggering unit), Hide level-up graphics
> Floating Text - Create floating text that reads +XP above (Picked unit)

What would the triggering unit be on a "time" event?
 

Str4ndb3rg

Cool Member
Reaction score
0
There is a building called XP Gainer which is supposed to generate XP for the hero you spawn with.

Im all lost on how to get this work.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,491
> I'm all lost

Well, you could start by providing more information.
Like, are there more such buildings? Are you the owner? Does it matter?
Do they work automagically or only when you are near them?
Is there more than one Hero unit or type? At the same time? For the same player?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Cool, I went 14+7 and 7+3 before, but the first time the 7 just meant not entering crowded places, the second time I had to stay in the quarantine hotel because I'm 外国人 and don't have a home where I could self-isolate
  • jonas jonas:
    Do you have family in taiwan?
  • The Helper The Helper:
    man at this point better for Tom to not say on the public internet just saying
  • The Helper The Helper:
    I am sure we have posted news here that has pissed china off though I have not heard anything
  • jonas jonas:
    Your website isn't blocked by GFW so much is for sure :p
  • tom_mai78101 tom_mai78101:
    Do you have family in taiwan? <-- Yes.
  • jonas jonas:
    Cool, enjoy your vacation!
  • The Helper The Helper:
    Have a great vacation Tom!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news

    The Helper Discord

    Staff online

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top