I have one of those lying around...
Set the enemy's Misc Attribute 10 to 2 for a 2x2 enemy.
This isn't compatible with AutoGhost, though. It would be pretty cool if BB89 (or anyone else) could make one that uses the AutoGhost library.
CODE
global script BigEnemies
{
void run()
{
while(true)
{
ExtendEnemies();
Waitframe();
}
}
void ExtendEnemies
{
npc enemy;
for(int i=Screen->NumNPCs(); i>0; i--)
{
enemy=Screen->LoadNPC(i);
if(enemy->Extend==0 && enemy->Attributes[10]!=0)
{
if(enemy->Attributes[10]==1)
enemy->Extend=1;
else if(enemy->Attributes[10]==2)
enemy->Extend=2;
}
}
}
}
{
void run()
{
while(true)
{
ExtendEnemies();
Waitframe();
}
}
void ExtendEnemies
{
npc enemy;
for(int i=Screen->NumNPCs(); i>0; i--)
{
enemy=Screen->LoadNPC(i);
if(enemy->Extend==0 && enemy->Attributes[10]!=0)
{
if(enemy->Attributes[10]==1)
enemy->Extend=1;
else if(enemy->Attributes[10]==2)
enemy->Extend=2;
}
}
}
}
Cool, do you mean that autoghost and this can't be in the same mod, or you cant use them both in the same screen? Thanks.
~Z


