How do I make basic income work??

  • Thread starter Thread starter helppp
  • Start date Start date
H

helppp

Guest
I am making a map for warcraft and don't know how to make this stupid income stuff work, so confusing with the grammer in this editor :/

I want to make a team tower wars map, I have everything working, units, regions, lives, you name it. But I can't get income working properly so every 20 seconds it gives the income that the current player has (Default starting off with 25) and increasing that income depending on what creep they spawn.

Help?!!? :(
 
income
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Player - Add (25 + (2 x (((Picked player) Units Killed) + 0))) to (Picked player) Current gold
Else - Actions
Do nothing

ok this one gives each player gold (25 + #number of kills(x2)) every 20 seconds of game
 
Uh axe thats nt what he asked for. and why are you using an if then else and a +0? :nuts:

anyway just have something like this
Code:
Income
    Events
      Time - Every 20.00 seconds of game time
    Conditions
    Actions
      Player Group - Pick every player in (All players) and do (Actions)
        Loop - Actions
           Player - Add (Income[Player Number of (Picked Player)]) to (Picked Player) Current gold
and in the trigger that make the player spawn the creeps add however much to the variable. note that Income is a variable of type integer wisth array size 12 and starting value 25.
 
loop actions? I don't see that as an action option... is there an updated version of this editor or something??
 
just go to pick units in unit group and do actions
 
AgentPaper said:
just go to pick units in unit group and do actions
The heck?? There is no option to just leave it as actions as it doesn't allow me to press ok unless I choose that action. And I can't change the action to loop so I'm kind of confused now :S

I'm using RoC by the way... that's not a problem is it??
 
ok, well, it gives all players income every 20 seconds now. Works fine. However, how do I make it so when they chose a particular creep from the creep building, it changes the income value to however much I specify?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top