Projectile's target - how to check?
Projectile's target - how to check?
How to check if spitter's or worm's projectile targets the player? I've found projectiles that are represented by entities. How to find out their target? And is it possible to change it or clear? Maybe entity.set_command is for this case?
Re: Projectile's target - how to check?
set_command() is for use on units.
Target field can be specified on creation of projectile by script, but it's not accessible afterwards.
You've got to try something else.
Target field can be specified on creation of projectile by script, but it's not accessible afterwards.
You've got to try something else.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.