• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

creating an income system

Status
Not open for further replies.

ozarku

O

ozarku

hey im trying to make a income system where when a player is in a certain region he and his ally's get gold every few seconds. ive uploaded my map the triggers have been messed with so much im not sure what to do now. see if you can help. thanks
 

Attachments

i could make that :) but explain more, where the region is, what unit must be in it, how much gold per second, who is on whos team
 
any unit, doesnt matter 100g every 10 seconds. msot of this stuff is in my map.. jus look at the triggers..
 
u were right, trigger fail :P Fixing it :D

there could be 2 ways, 1 is every 10 seconds it gives gold if some1 is in it...
another is it sets up a timer and when it ends checks if the person is still in the area, i think im gona do the timer one :P

ill make it so if an enemy is on there if the timer ends it does give gold

Done: Could be coded better, due to lack of time and patience i couldnt do any better ATM :P anyone is welcome to improve this trigger to the poster's need
 

Attachments

Last edited:
u were right, trigger fail :P Fixing it :D

there could be 2 ways, 1 is every 10 seconds it gives gold if some1 is in it...
another is it sets up a timer and when it ends checks if the person is still in the area, i think im gona do the timer one :P

ill make it so if an enemy is on there if the timer ends it does give gold

Done: Could be coded better, due to lack of time and patience i couldnt do any better ATM :P anyone is welcome to improve this trigger to the poster's need
thanks =P i tried to fix it for forever lol
 
hey, the triggers you gave me still aren't working. I didnt get to test till just now =[
 
wow O_O hmmmm Dangit
as i said, i pretty much rushed through them leme test em out
Well, i kinda know what the problem is, its when the timer ends, it probably doesnt scan the right area...
yep, i messed up the trigger, it gave gold only to those standing on bottom base XD leme fix that
 

Attachments

Status
Not open for further replies.
Back
Top