- Joined
- Aug 11, 2009
- Messages
- 605
What I need is triggers that when spawning an Elite pack in my map, they should be given 1-4 passive abilities out of 8 possible. How many they get is based on game difficulty.
Normal: Each elite recieves 1 random passive ability.
Nightmare: Each elite recieves 2 random passive abilities.
Hell: Each elite recieves 3 random passive abilities.
Inferno: Each elite recieves 4 random passive abilities.
Lets just call the abilities A1, A2, A3 etc.
So when an Elite pack spawns the triggers should randomly give each elite some of these abilities (the whole pack should have the same passive abilities though). And it has to be different abilities, so if they first get A3, then the next ability they get cannot be A3.
I could easily make a loop myself to give them the abilities but I just dont know how to do it so when an ability has been picked it should be removed from the next loop.
Thanks for any help on this!
Normal: Each elite recieves 1 random passive ability.
Nightmare: Each elite recieves 2 random passive abilities.
Hell: Each elite recieves 3 random passive abilities.
Inferno: Each elite recieves 4 random passive abilities.
Lets just call the abilities A1, A2, A3 etc.
So when an Elite pack spawns the triggers should randomly give each elite some of these abilities (the whole pack should have the same passive abilities though). And it has to be different abilities, so if they first get A3, then the next ability they get cannot be A3.
I could easily make a loop myself to give them the abilities but I just dont know how to do it so when an ability has been picked it should be removed from the next loop.
Thanks for any help on this!