by MartinHowe » Mon Nov 19, 2007 1:20 pm
I have a monster that has only a melee attack but want flag 16 ("stay still"). When specifying the missile state:
Using
BOSS C 2 A_Chase("Melee", "" , 16) gives a "negative jump offset" error.
Using
BOSS C 2 A_Chase("Melee", None, 16) gives a "string constant expected" error.
Using
BOSS C 2 A_Chase("Melee", Null, 16) gives a "string constant expected" error.
Using
BOSS C 2 A_Chase("Melee", "NULL", 16) works, but only because "NULL" is an undefined state label and the log file is littered with errors to that effect.
Using
BOSS C 2 A_Chase("Melee", 0, 16) gives a "negative jump offset" error.
If the official way to specify "there isn't one" for one of the states is broken, please fix it

If there is no official way to specify "there isn't one" for one of the states, please add one

If there is, please tell me what it is.
I have a monster that has only a melee attack but want flag 16 ("stay still"). When specifying the missile state:
Using [b][color=#008000]BOSS C 2 A_Chase("Melee", "" , 16)[/color][/b] gives a "negative jump offset" error.
Using [b][color=#008000]BOSS C 2 A_Chase("Melee", None, 16)[/color][/b] gives a "string constant expected" error.
Using [b][color=#008000]BOSS C 2 A_Chase("Melee", Null, 16)[/color][/b] gives a "string constant expected" error.
Using [b][color=#008000]BOSS C 2 A_Chase("Melee", "NULL", 16)[/color][/b] works, but only because "NULL" is an undefined state label and the log file is littered with errors to that effect.
Using [b][color=#008000]BOSS C 2 A_Chase("Melee", 0, 16)[/color][/b] gives a "negative jump offset" error.
If the official way to specify "there isn't one" for one of the states is broken, please fix it :)
If there is no official way to specify "there isn't one" for one of the states, please add one :)
If there is, please tell me what it is.