| 10-24-2004, 03:51 AM | #1 |
I am making a map called Possesed. Basicly like those whos the murderer maps. Every one is a tribesman and 1 tribesman has Transform:Demon ability. I am confused on how to make a trigger that does that randomly, also people can change their class, I want it so if people change from lets say, Tribesman to shaman if that player is the demon his shaman has the transform ability. The trigger for changing classes is: Event-Unit Aquires item Condition-None Action- if aquired item=to become a shaman, replace manipulating unit with a shaman. How do I change that trigger so if the player trying to become shaman is the demon the shaman gets the ability Transform:Demon |
| 10-24-2004, 04:00 AM | #2 |
Guest | You could.. hmm... Anyway, store the unit with that ability in a variable. Then if the unit that transforms into a shaman is equal to that demon unit, add the ability. For your first question, pick a random player from players that are playing (or player group matching: player slot status = is playing), and if you don't have the units set to variables, pick a random unit from (units of type X owned by that player) and give that unit the ability. Unit - Add Mana Burn to (Random unit from (Units owned by (Random player from (All players matching (((Matching player) slot status) Equal to Is playing))) of type Warden)) ^ ^ |
| 10-24-2004, 10:54 AM | #3 |
you could use the mechanical form thingo the goblin tinker has? that should be able to use items, change your dude from one form back to the other and i think it adds items |
| 10-24-2004, 02:46 PM | #4 | |
Quote:
I was not asking how to transform, I got that all down. Thanks for the help I know what to do now. |
