MegaGlest/megaglest-source — pull request #22 by titison (2014-07-27 21:15:48+00:00)
Title: Feature/spawnattack at enemy

1. Added the ability for SpawnAttacks to let the units spawn when the projectile arrives at the targetpos.
2. Added a bool spawnAtTarget to spawn attack in which you can define whether the unit spawns at the target or at the attacker.

In Addition i changed the command which is given to the spawned unit to an attack command on the target cell. Unit will always try to attack if it has an attack command.
( I think this makes way more sense than giving a move command to the meeting point)
( This also works if the spawned does not have a attack command. It will move to the enemy then)

so the "new" syntax is ``````
if you want to let the unit spawn if the projectile arrives you need to use titi's new projectile syntax and add the unit node to it
Example:
```

```
Ask me if you have any questions