View Single Post
Garfunkel
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Grenoble, France
Posts: 167

Old December 12th, 2011, 01:01 AM
Hello,

For the post not to be too long to read, I answer each part separately.

Quote:
Then there's 6 different Professionals in the game, like classes.. and each one has 75 XP, and gets 1 bonus point to a given stat, and then 15 points to add raising them more.
You can either create 6 different units (One for each professionnal) or a single unit called professionnal with options to select givien the type and the bonus point. Then set to 75 the XP stat.
- For the first solution, just duplicate the henchmen unit, change the name and XP stat and modify the stat the given professional has a bonus.

- For the second solution, create one option for each type (6) and use the following EVAL script :

unit.basestat[STAT_BONUS_POINT] +=1
unit.name = "Professional Type"

Create an Exclusion group on the .def file with the range 1 1. (PROF)
Create links between the unit and each option with Exclusion PROF usage set to "1" and textcost to " "

Regards,
Frédéric
Garfunkel is offline   #7 Reply With Quote