How do i make a certain character(like a peasant who is a player) get $$ for doing a certain deed or job kinda like the jobs on Loap well exactly like loap? Just like LOAP(Life Of A Peasant)plz help me somebody?
6 posts Places like my mind... and maybe yours... joined
#2
ok...lemme give you an example.. for mayor, they make it 'every x seconds of game' 'owner of mayor job gets x gold' for stuff like the doctor...the creeps drop the gold for others, either wait for a better reply, or check a loap.. -SLNR
Events: A unit enters [region where he gets the job]
Conditions: Owner of (entering unit) equal to Player 01 Red
Actions: Set Player 01 Red = Mayor
Next trigger for mayor:
Events: Player 01 Red = Mayor Every [number of seconds you want him to get payed] of game
Conditions:
Actions: Add [amount of gold/lumber/food you want to add to the player's total amount of gold/lumber/food] to Player 01 Red's total amount of gold/lumber/food.
Notes: 1. This was made just out of my head, I don't know if those are the exact functions. 2. You will have to make these two triggers for each of the players that can become mayor, just changing Player 01 Red to the color you want, i.e. Player 02 Blue.