ProjectileAnim & Color

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

ProjectileAnim & Color

Post by Harley » Sun Jan 08, 2017 5:19 pm

Hello 2 everyone!
Some months ago I have add new property at my weapons.

ProjectileAnimColor 1151 - for example;

At Combat system:
var projectile_anim_color := attacker_weapon_itemdesc.ProjectileAnimColor;
if( projectile_anim_color )
PlayMovingEffectEx( attacker, defender, attacker_weapon_itemdesc.ProjectileAnim, 10, 0, projectile_anim_color );

But I forgot that this is pol class variable: ... emdesc.cfg

And now I have some "BUG" in animation:
ProjectileAnim.png (59.98 KiB) Viewed 1047 times
There are 2 arrows, with default color & color that I've set up.

Can someone tell me, how to make it clear and fix it.

With best regards!

Post Reply