Is it normal that mini Battlelords can't be attacked and don't do anything after returning from shrunk state? If it's a bug in con code: Is there a way to fix it?

NukeDukem89, on 31 March 2024 - 03:24 PM, said:
state boss1palshrunkstate ifcount SHRUNKDONECOUNT ai AITROOPSEEKENEMY <-------------------- else ifcount SHRUNKCOUNT sizeto 40 40 else state genericshrunkcode ends
state boss1code ifaction ABOSS1FROZEN { ifcount THAWTIME { ai AIBOSS1SEEKENEMY spritepal 21 <---------------------------------------- } else ifcount FROZENDRIPTIME { ifactioncount 26 { spawn WATERDRIP resetactioncount } }
Danukem, on 12 April 2024 - 01:42 AM, said:
appendevent EVENT_SPAWN ifn MONSTERS_OFF 1 { switch sprite[].picnum case TANK cstat 257 sizeat 60 60 clipdist 100 spriteflags 8192 break case NEWBEAST case NEWBEASTSTAYPUT case NEWBEASTHANG case NEWBEASTHANGDEAD case NEWBEASTJUMP cstator 257 sizeat 40 40 clipdist 64 break endswitch } endevent
appendevent EVENT_SPAWN ifn MONSTERS_OFF 1 ifle sprite[].lotag userdef[].player_skill { switch sprite[].picnum case TANK ... break case NEWBEAST case NEWBEASTSTAYPUT case NEWBEASTHANG case NEWBEASTHANGDEAD case NEWBEASTJUMP ... break endswitch } endevent
appendevent EVENT_SPAWN { // Ignore enemies disabled due to skill level ife sprite[].xrepeat 0 break switch sprite[].picnum { // Fixup sprite sizes
Reaper_Man, on 15 April 2024 - 05:52 AM, said:
appendevent EVENT_SPAWN { // Ignore enemies disabled due to skill level ife sprite[].xrepeat 0 break switch sprite[].picnum { // Fixup sprite sizes
NightFright, on 15 April 2024 - 11:26 AM, said:
This post has been edited by Danukem: 15 April 2024 - 12:45 PM
NightFright, on 15 April 2024 - 12:45 PM, said:
appendevent EVENT_SPAWN switch sprite[].picnum case BOSS2 case BOSS3 ifg sprite[].pal 0 strength BOSS1PALSTRENGTH break endswitch endevent
ifai 0 { ifspritepal 0 ai AIBOSS3RUNENEMY else { strength 1 ai AIBOSS3LOBENEMY } }
var BOSSFIXUP 0 2 appendevent EVENT_GAME { // Check this first because EVENT_GAME is expensive ifn BOSSFIXUP 0 break // Make all sprites ignore subsequent checks set BOSSFIXUP 1 switch sprite[].picnum { case BOSS2 case BOSS3 ifn sprite[].pal 0 strength BOSS1PALSTRENGTH break } endswitch } endevent
appendevent EVENT_SPAWN { ifn sprite[].pal 0 { ife sprite[].picnum BOSS2 { strength BOSS1PALSTRENGTH sound BOS2_ATTACK ai AIBOSS2SHOOTENEMY } ife sprite[].picnum BOSS3 { strength BOSS1PALSTRENGTH ai AIBOSS3LOBENEMY } } } endevent
This post has been edited by Reaper_Man: 16 April 2024 - 07:23 AM
appendevent EVENT_SPAWN switch sprite[].picnum case BOSS2 ifn sprite[].pal 0 { strength BOSS1PALSTRENGTH sound BOS2_ATTACK ai AIBOSS2SHOOTENEMY } case BOSS3 ifn sprite[].pal 0 { strength BOSS1PALSTRENGTH ai AIBOSS3LOBENEMY } break endswitch endevent
This post has been edited by VGames: 16 April 2024 - 05:52 PM
VGames, on 16 April 2024 - 05:52 PM, said:
ife userdef[].screen_size 4 ife userdef[].althud 1