Code: Select all
//=============================================================================
// NKrall.
//=============================================================================
class NKrall expands Krall;
function eAttitude AttitudeToCreature(Pawn Other)
{
if ( Other.IsA('NKrall') )
return ATTITUDE_Friendly;
else if ( Other.IsA('ScriptedPawn') )
return ATTITUDE_Friendly;
else
return ATTITUDE_Ignore;
}
Code: Select all
function eAttitude AttitudeToCreature(Pawn Other)
{
if ( Other.IsA('Brute') )
return ATTITUDE_Friendly;
else if ( Other.IsA('Nali') )
return ATTITUDE_Hate;
else
return ATTITUDE_Ignore;
}
Because I have been wanting to have a set of pawns that do not attack each other for a long time and don't want any mutator or gametype, only the scripted pawns.
It's a very important thing, a loophole cheat to beat a map but is fun and strategy also, you just set off the enemies and let them work themselves down or kill each other off, and you never have to fire a shot.
So I want to do this map so they won't fight. I have a lot of non stock pawns I managed to get in MyLevel. But to try and place enemies with certain amounts of health becomes difficult if the pawns attack each other.
Makes it harder to make the gameplay,
Epic should have had a selection property in each Scripted pawn, so you could choose each pawn and the type of attitude you want. Instead of messing with code.