[SOLVED] OpenBOR cannot be executed when zoom effect is applied.

DIGITOY

New member
Hello everyone.
I applied bb's 3rd Strike Zoom Effect code to my game. When I ran the game, a script error occurred that could not find spawnbind. I applied all the necessary files in the script folder, and I also entered the code in the header of the entity file and the corresponding frame.

Script code applied to the header:
animationscript data/scripts/spawns.c
animationscript data/scripts/scripts.c
ondrawscript data/scripts/shadowon.c

Script code applied to the frame:
anim freespecial3
summonframe 1 45 -30 0 0
subentity super01
unsummonframe 2
fastattack 1
jugglecost 1
Energycost 50 1 0 mponly 1
loop 0
delay 5
offset 32 ​​109
@cmd spawnbind "zoomin" 0 0 0
frame data/chars/kimsuil/phoenix0.gif
offset 32 ​​109
sound data/sounds/special.wav
@cmd spawnbind "zoomout" 0 0 0
frame data/chars/kimsuil/phoenix0.gif
offset 88 68
@cmd shadow 5 20 120 6 2 15 5 0 0
frame data/chars/kimsuil/phoenix1.gif
attack 0 0 0 0 0 0 0 0 0 0
offset 87 65
frame data/chars/kimsuil/phoenix2.gif
attack 59 25 86 44 1 0 1 0 10 30
offset 51 71
sound data/sounds/suil-frspecial-fx2.wav
frame data/chars/kimsuil/phoenix3.gif
attack 0 0 0 0 0 0 0 0 0 0
offset 30 107
frame data/chars/kimsuil/phoenix4.gif
attack 60 15 71 69 1 0 1 0 10 30
offset 48 125
sound data/sounds/suil-frspecial-fx2.wav
frame data/chars/kimsuil/phoenix5.gif

As far as I know, animationscript should not be applied to the header twice. So how do I apply the spawns.c file?
 
delete
animationscript data/scripts/spawns.c
from the header

inside the scripts folder open scripts.c and put at the top of the document
#import "data/scripts/spawns.c"

If you're still having problems post the openbor log
 
danno said:
delete
animationscript data/scripts/spawns.c
from the header

inside the scripts folder open scripts.c and put at the top of the document
#import "data/scripts/spawns.c"

If you're still having problems post the openbor log

Thanks for the quick answer.
I #import "data / scripts / spawns.c" I knew about this code, but I didn't know where to apply it.
Thank you so much!
 
Back
Top Bottom