HI, I could work with variables before but have forgotten..:( I am trying to do so when you kill a hero variable herokilled += 1 how to:confused: Any help would be great:)
events: a unit dies conditions: (boolean) dieing unit is a hero = true actions: set variable - herokilled = (arithmetic) herokilled + 1
the action is called "set variable"
I am at that point my but it says 1 + 1 and when i say 0 + 1 it still doesn't work if you understand what i mean if not add [email]firstname.lastname@example.org[/email] to msn i send screen shot and stuff.
I did it forget it;) but you were helpfull without you this wouldn't be possible for me;)
feels good to hear that ;)
Okay, I have a question similar to this, and this seems as good a place as any to post it.
My question is, when the hero dies, how do you get the game to set a variable that would remember which Hero had died, and from which player?
Thanks if you've got any ideas
hmm.. depends.. what u wanna use it for?
do you mean what hero type? or the exact hero (including all items, stats (bonusses), ...?
should this data be reloaded later in the game, or, like beier said, what will this be used for