| 04-09-2004, 08:24 PM | #1 |
i just wanna know how income works. like in mauls and TD. the more of something (if i own somthing) or train a unit, o kill a unit. i get income or increas it. plz tell me a tut that is out there or u can make one! ^_^ |
| 04-09-2004, 08:50 PM | #2 |
Its called bounty. You can enable bounty by doing player flag - turn bounty on for (some player). Thats a trigger, by the way. You can set how much bounty a unit gives under the unit editor - bounty base. the dice and rolls just effect a variation on the base (so all units dont give the same bounty). |
| 04-10-2004, 12:30 AM | #3 | |
Quote:
hmmm.... im not sure u get wut i mean. like in winter maul, u get income like every 30 seconds. i wanna know how that works. not when u kill a units how much gold u get from it. like evey 5 seconds i get 5 g and when i have a building, i gain like 2 g so i get 7 g evey 5 secs got it? |
| 04-10-2004, 12:57 AM | #4 |
event: periodic event: evey 5 secs Condition: Player owns a (insert unit here) Action: Give player gold (I think its under add player property) |
| 04-10-2004, 02:44 AM | #5 |
hmm, you want it to be compound, ya? so if you have 3 of this building you get 11g every 5 secs? i'd use a variable myself, unfortunately i'm not using WE atm so i cant tell you exactly how (you should be able to work it out, unless you new to this, and if thats the case this might be a little high level) anyways, i'd store the ammount your meant to get as the bonus bit, and then use a periodic event trigger which adds to your gold 5+TheVariable (NOTE: this only how i would do it, and as im no pro myself i would suggest you take this as a temporary solution untill somebody confirms im right) EDIT: I think what you basically have to do is check how many whetevers you own and then set a variable according to that, then add that to the base then add that to your gold. (I would then reset the variable to 0, but thats preference.) |
| 04-10-2004, 04:25 AM | #6 |
ok, i think gamefreaks idea is to hard for me. i am a noob at WE. the map is prob to hard for a never made maper but i think its well be cool! ill try fugly's way. its easyer and i think i can use that for my map. thanx guys! if u still have other ways, then plz feel free to post! |
