How to store heroes into variables?
Jun 20, 2009 #2 Gtam Lerning how to write and read!! Yeah. Reaction score 164 Unit or unit type variable then set it to ur hero or hero type
Jun 20, 2009 #3 Komaqtion You can change this now in User CP. Reaction score 469 Not a very good explanation of your problem there How do you mean... as a unit, then use a unit variable
Not a very good explanation of your problem there How do you mean... as a unit, then use a unit variable
Jun 20, 2009 #4 0rcL0rd New Member Reaction score 1 maybe this is what you mean: Trigger: Events Map Initialization Conditions Actions Set Hero_var[1] = Paladin Set Hero_var[2] = Blademaster Set Hero_var[3] = DemonHunter you just have to make a variable named Hero_var and the Variable Type to Unit-Type and turn on array. hope i could help.
maybe this is what you mean: Trigger: Events Map Initialization Conditions Actions Set Hero_var[1] = Paladin Set Hero_var[2] = Blademaster Set Hero_var[3] = DemonHunter you just have to make a variable named Hero_var and the Variable Type to Unit-Type and turn on array. hope i could help.
Jun 22, 2009 #5 J JsK New Member Reaction score 0 Erm , I mean something like this where you can choose the hero in the variable section. I've tried 0rc's method but it didn't work.
Erm , I mean something like this where you can choose the hero in the variable section. I've tried 0rc's method but it didn't work.
Jun 22, 2009 #6 Romek Super Moderator Reaction score 964 Unit Variable. Look at the title of the dialog window.
Jun 24, 2009 #8 Komaqtion You can change this now in User CP. Reaction score 469 Those are only pre-placed units.
Jun 25, 2009 #9 J JsK New Member Reaction score 0 Can anyone help me in this? I want to kill the unit after it is selected but I cant seem to find out how. Attachments Test Dungeon.w3x 114.3 KB · Views: 149
Can anyone help me in this? I want to kill the unit after it is selected but I cant seem to find out how.