• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

How to make random learn skill at AI Hero Unit

Status
Not open for further replies.
Level 5
Joined
Jul 4, 2005
Messages
54
Easy: This is Jack_Sparrow_Evo

Example:

Paladin.

Spell: Variable

Holylight = baseskill 1
blah blah = skill 2
blah blah = skill 3
Blah blah = Ultimate skill

A unit gains a level:

Player equal to Computer
Player equal to None user

Then set Random skill = 1-3 (internger variable)

Multi functions
Random skill equal to 1
Learn BLAH BLAH for leveling hero
Random Skill Equal to 2
Learn BLAHBLAH for Leveling Hero.

and if it is 5 skills then use 5 skills.

Do this with every heroes you made, it cannot be hader
 
Level 2
Joined
Jun 21, 2006
Messages
7
thk you Jack_Sparrow_Evo

thk you Jack_Sparrow_Evo. can i random from all skill in my map ???. It will vero good because i have many hero and many skill.
 
Status
Not open for further replies.
Top