Spawn text after taking an item

It's not working. I just added the floating_text script into my scripts folder and added this code, yet there was never any text. What am I missing now?

Header


Animation
I suggest confirming if you are spawning the "Floating_Text" entity using the spawnToss function.

Code:
anim attack1
    loop    0
    delay    5
    offset    45 119
    bbox    21 2 45 119
    @cmd saveText "Attack"
    @cmd spawnToss "Floating_Text" 0 0 1 0 1 0
    frame    data/chars/maxima/punch000.gif
    frame    data/chars/maxima/punch001.gif
    attack    76 21 42 39 7
    bbox    31 6 51 116
    frame    data/chars/maxima/punch002.gif
    frame    data/chars/maxima/punch003.gif
    attack    0 0 0 0 0
    bbox    31 5 50 116
    frame    data/chars/maxima/punch004.gif
 
Nop. Not working. Game crashes when playing the animation. Honestly I feel bad for making you waste so much time, man, so I'm probably dorpping this for good. I still appreciate all the help and patience! It really means a lot! Don't worry
 
Nop. Not working. Game crashes when playing the animation. Honestly I feel bad for making you waste so much time, man, so I'm probably dorpping this for good. I still appreciate all the help and patience! It really means a lot! Don't worry
Friend, I can guarantee that the script works, but it will require some adjustments in your game that certainly were not done properly.
For help you more I would need to have your game file.
 
Back
Top Bottom