Strange Error with Tac Missiles
-
Working on a stability update for AI Wave Survival.
Been getting the following warning in the logs:
warning: Invalid args to yield(); tick count must be >=0
stack traceback:
[C]: in function `WaitTicks'
...\projectiles\components\tacticalmissilecomponent.lua(141): in function <...\projectiles\components\tacticalmissilecomponent.lua:38>The following units in the mod get this warning in testing:
Abyss Depth Charge Platform (EDC0305)
Seraphim T3 Heavy Cruiser (SHC0202)
Seraphim Storm Launcher (PD4SP2108)The Doom units, which also fire Tac Missiles, do not get this error.
The strange thing is the Doom units (projectile DoomCruiseMissile) and the Abyss Depth Charge unit (projectile AbyssMissileCruise) both use the same projectile script and blueprint, with just a difference in health and speed. They both reuse edited Tac Missile files for UES0304 (UEF T3 Strategic Sub).
TMissileCruiseSubProjectile = import("/lua/terranprojectiles.lua").TMissileCruiseSubProjectile
The Seraphim units reuse the Tac Missile files from XSS0202 (Seraphim T2 Cruiser):
projectile StormAltMissile
projectile StormTacMissileSLaanseTacticalMissile = import("/lua/seraphimprojectiles.lua").SLaanseTacticalMissile
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login