- Joined
- Oct 15, 2006
- Messages
- 339
***PLEASE MOVE THIS TO REQUESTS SECTION***
Thanks
Hello. I need a revival system for Neutral units that's a bit more complex than any revival system out there..
***At the beginning of the map i need to place 48 random Neutral units in random spots within a rect.
There can be no more than 48 Neutral units on the map at a time.
Every 20 seconds, how ever many Neutral units are missing from the 48, a random number of random creeps is generated and placed randomly within the rect to eqal 48 creeps.
Not only that.. haha.. but every 40 seconds a random number between 5 and 20 of a random selection of the Neutral units needs to be "displaced" - by removing them from the rect/game, and allow the 20-second revival timer to replenish the map.
This may be a crucial factor so i am adding it.. Acturally, i know it is a crucial factor..
The neutral units will all be using the same name, and will look the same, but they serve as ability gains. If a user character comes within a very short range of these nuetral units, they gain modifications (spped, turn-rate, etc) or abilities. Once they come within the range of the neutral unit, the neutral unit will be "collected" - by removing the unit and then adding a mod/ability.
*** The units may not have to be different if the following is doable.
So i guess the only real way to do this is by having a bunch of Action triggers for the mods/abilities. Then if a player-character comes within range, remove neutral unit from game and somehow apply/"run" random trigger from 'trigger-group?' (using variables) for triggering unit?
I could not finish my map without this. So, please, dedicated scripters!
EDIT: Yar, no experts here, me matey!?!
(PLEASSSSSSEE!)
Thanks
Hello. I need a revival system for Neutral units that's a bit more complex than any revival system out there..
***At the beginning of the map i need to place 48 random Neutral units in random spots within a rect.
There can be no more than 48 Neutral units on the map at a time.
Every 20 seconds, how ever many Neutral units are missing from the 48, a random number of random creeps is generated and placed randomly within the rect to eqal 48 creeps.
Not only that.. haha.. but every 40 seconds a random number between 5 and 20 of a random selection of the Neutral units needs to be "displaced" - by removing them from the rect/game, and allow the 20-second revival timer to replenish the map.
This may be a crucial factor so i am adding it.. Acturally, i know it is a crucial factor..
The neutral units will all be using the same name, and will look the same, but they serve as ability gains. If a user character comes within a very short range of these nuetral units, they gain modifications (spped, turn-rate, etc) or abilities. Once they come within the range of the neutral unit, the neutral unit will be "collected" - by removing the unit and then adding a mod/ability.
*** The units may not have to be different if the following is doable.
So i guess the only real way to do this is by having a bunch of Action triggers for the mods/abilities. Then if a player-character comes within range, remove neutral unit from game and somehow apply/"run" random trigger from 'trigger-group?' (using variables) for triggering unit?
I could not finish my map without this. So, please, dedicated scripters!
EDIT: Yar, no experts here, me matey!?!
(PLEASSSSSSEE!)
Last edited: