- Joined
- May 2, 2011
- Messages
- 1,351
Hello guys,
here is what I want to do
Each player has a timer that starts at when some event occurs. This will be array Timer[N]. The event of starting timer will be when townhall is built
Also, Each Player will have some unit variable Townhall[N], where N is player number
My question is:
could there possible be event in one trigger that says
Timer N expires
order townhall[of the timer or of N which is the player Number] to train peasant
let timer go again
in other words, is there any way I can axis the N of the timer array? like... There is triggering player.. but I havent seen triggering timer or something -.-....Edit: ok ive just seen triggering timer.. but is there a way to find out what N of the triggering timer is?
im also not very confident of my hastable yet, but let that aside for now
Edit: would be pretty easy if I can create trigger array maybe?
Edit: ok i just discovered there can be a trigger variable !!!! Edit: but how are we supposed to set it all up?
here is what I want to do
Each player has a timer that starts at when some event occurs. This will be array Timer[N]. The event of starting timer will be when townhall is built
Also, Each Player will have some unit variable Townhall[N], where N is player number
My question is:
could there possible be event in one trigger that says
Timer N expires
order townhall[of the timer or of N which is the player Number] to train peasant
let timer go again
in other words, is there any way I can axis the N of the timer array? like... There is triggering player.. but I havent seen triggering timer or something -.-....Edit: ok ive just seen triggering timer.. but is there a way to find out what N of the triggering timer is?
im also not very confident of my hastable yet, but let that aside for now
Edit: would be pretty easy if I can create trigger array maybe?
Edit: ok i just discovered there can be a trigger variable !!!! Edit: but how are we supposed to set it all up?
Last edited: