• 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.

creating an income system

Status
Not open for further replies.
Level 2
Joined
Sep 30, 2007
Messages
8
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

  • hmm.w3x
    375.1 KB · Views: 62
Level 2
Joined
Sep 30, 2007
Messages
8
any unit, doesnt matter 100g every 10 seconds. msot of this stuff is in my map.. jus look at the triggers..
 
Level 12
Joined
May 4, 2008
Messages
1,111
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

  • hmm.w3x
    378.1 KB · Views: 51
Last edited:
Level 2
Joined
Sep 30, 2007
Messages
8
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
 
Level 2
Joined
Sep 30, 2007
Messages
8
hey, the triggers you gave me still aren't working. I didnt get to test till just now =[
 
Level 12
Joined
May 4, 2008
Messages
1,111
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

  • hmm.w3x
    378.2 KB · Views: 46
Status
Not open for further replies.
Top