dantedevil
Well-known member
I have a boss (Balrog) and set the onkillscript in the header txt.
As you see, he have onspawnscript too.
The onspawnscript works ok, I used several times without problems.
Now I want use the onkillscript, but not work.
I kill Balrog and the script never shows and the sytem seems works ok, with any errors.
I try setting the blarog2.c (onkillscript), in the onspawnscript and the script dialog it's ok.
Try to set the onkillscript in other character, and not work again.
Testing more, I see something is wrong. Because if I set the line:
onkillscript data/chars/balrog/balrog2.c
Ths script not work, but if quit the game and select the new game again, the menu works bad.
The statues not explode when select a character, then when the game start you can se the frames of the stone explosion over the stage background.
If remove the "onkillscript data/chars/balrog/balrog2.c", all works ok again.
What happend here?
Code:
onspawnscript data/chars/balrog/balrog.c
onkillscript data/chars/balrog/balrog2.c
animationscript data/scripts/escript.c
As you see, he have onspawnscript too.
The onspawnscript works ok, I used several times without problems.
Now I want use the onkillscript, but not work.
I kill Balrog and the script never shows and the sytem seems works ok, with any errors.
I try setting the blarog2.c (onkillscript), in the onspawnscript and the script dialog it's ok.
Try to set the onkillscript in other character, and not work again.
Testing more, I see something is wrong. Because if I set the line:
onkillscript data/chars/balrog/balrog2.c
Ths script not work, but if quit the game and select the new game again, the menu works bad.
The statues not explode when select a character, then when the game start you can se the frames of the stone explosion over the stage background.
If remove the "onkillscript data/chars/balrog/balrog2.c", all works ok again.
What happend here?
Last edited: