[Trigger] Variable question

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
612
I was just wondering if i can use the same variables to store a unit that is progressing a quest by for example killing à creep and to use the same variable to store à unit who picks up the quest? You pick up a quest by buying à dummy unit.

Thanks for any help on this :)
 
so 1st this unit buying quest then start kill creeps?
why dont use a integer variable?

example:
when u buy a quest then
Pityu=ur unit
PeriodicJob1[custom value of Pityu] = 1
when u activated the quest or started then
PeriodicJob1[custom value of Pityu] = 2
when u are done then
PeriodicJob1[custom value of Pityu] = 3
when u got the reward then
PeriodicJob1[custom value of Pityu] = 0
 
Status
Not open for further replies.
Back
Top