User:Dutchmega/code
Jump to navigation
Jump to search
Making the antlion burn!
Add the following under protected
in npc_antlion.h
virtual bool AllowedToIgnite( void ) { return true; }
Well, now the damh thing burns but it doesn't visually respond to it. You can use the drown-animation:
Add in the top of the function GatherConditions():
if( IsOnFire() ) {
SetCondition( COND_ANTLION_IN_WATER );
}