virtual void Init() { SetFlags( ACH_LISTEN_KILL_EVENTS | ACH_SAVE_GLOBAL ); SetAttackerFilter("player"); SetVictimFilter("player"); SetGoal( 25 ); }
virtual void Init() { SetFlags( ACH_LISTEN_PLAYER_KILL_ENEMY_EVENTS | ACH_SAVE_GLOBAL ); SetAttackerFilter( "player" ); SetVictimFilter( "player" ); SetGoal( 3000 ); VarInit(); }
void Init() { SetFlags( ACH_LISTEN_KILL_ENEMY_EVENTS | ACH_SAVE_WITH_GAME ); SetAttackerFilter( "combine_mine" ); SetGoal( 1 ); if ( IsPC() ) { // only in Ep2 for PC. (Shared across HLX for X360.) SetGameDirFilter( "ep2" ); } }