Page 1 of 1

Less restrictive targets for create_entity with projectiles

Posted: Thu May 05, 2016 11:37 pm
by Adil
It seems you can't create projectile with surface.create_entity() unless you provide it some entity with health to target. Yet quite a few projectiles normally target ground and some others just have a direction and deviations set (when created without scripts).

It'd be nice if we could create projectiles that target position by scripts too.

Re: Less restrictive targets for create_entity with projectiles

Posted: Fri May 06, 2016 1:32 am
by Supercheese
It is fairly trivial to also create a dummy-target entity with invisible graphics... :?

Re: Less restrictive targets for create_entity with projectiles

Posted: Fri May 06, 2016 8:05 am
by Adil
I do that currently, but it's just silly.