- Joined
- Apr 1, 2010
- Messages
- 289
i have a couple ideas for projectile collisions but am unable to test i am wondering if someone would like to test them and see if they work.
idea 1
giving the mine exploding ability('Amin') to projectiles. I have been testing somethings out and it doesn't seem to cause much lag(several hundred unit with this ability on one map), and it works with units who are ordered to move places(they die when they come into range) the one problem is it won't collide with the owners projectiles(its a hard coded abillity).
i think you could use that ability to trigger the damage for a projectile system.
my one concern is whether it will work with units moving at a high speed.
idea 2
using the specific unit event a unit notices a unit in range (by giving the projectiles an attack.
or using the unit within range event
idea 3
creating a rect( or region) for each projectile and moving it along with the unit, my concern here is that it won't sense when a the rect moves on top of a unit, or that it won't detect units entering via set unit y/x
idea 1
giving the mine exploding ability('Amin') to projectiles. I have been testing somethings out and it doesn't seem to cause much lag(several hundred unit with this ability on one map), and it works with units who are ordered to move places(they die when they come into range) the one problem is it won't collide with the owners projectiles(its a hard coded abillity).
i think you could use that ability to trigger the damage for a projectile system.
my one concern is whether it will work with units moving at a high speed.
idea 2
using the specific unit event a unit notices a unit in range (by giving the projectiles an attack.
or using the unit within range event
idea 3
creating a rect( or region) for each projectile and moving it along with the unit, my concern here is that it won't sense when a the rect moves on top of a unit, or that it won't detect units entering via set unit y/x