by Matt » Thu Oct 10, 2019 1:59 am
Code: Select all
class blah:demon{
states{
melee:
SARG EFG 6 A_TroopAttack();
see:
// SARG AABBCCDD 4 A_Chase("Melee","Melee",CHF_DONTMOVE);
SARG AABBCCDD 4 A_Chase(flags:CHF_DONTMOVE);
loop;
}
}
Expected: monster will look for targets in one place.
Actual: monster will wander about.
If I swap out the commented line instead, it will do the expected thing.
[code]class blah:demon{
states{
melee:
SARG EFG 6 A_TroopAttack();
see:
// SARG AABBCCDD 4 A_Chase("Melee","Melee",CHF_DONTMOVE);
SARG AABBCCDD 4 A_Chase(flags:CHF_DONTMOVE);
loop;
}
}[/code]Expected: monster will look for targets in one place.
Actual: monster will wander about.
If I swap out the commented line instead, it will do the expected thing.