• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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