Aerisetta
Active member
I'm trying to get a webm video to play during an attack (like a super move cinematic). Here's what I wrote
The error comes back as
Please advise if this is how it can be used and what I'm doing wrong.
anim freespecial30
@script
if(frame==5){
void self = getlocalvar("self");
playwebm (data/scenes/fjtest.webm, 0)
}
@end_script
fastattack 1
delay 6
offset 145 300
bbox 86 2 116 308
sound data/sounds/punch_.wav
frame data/chars/aerisetta/finisher01.png
frame data/chars/aerisetta/finisher02.png
frame data/chars/aerisetta/finisher03.png
frame data/chars/aerisetta/finisher04.png
frame data/chars/aerisetta/finisher05.png
frame data/chars/aerisetta/finisher06.png
The error comes back as
Script error: data/chars/aerisetta/aerisetta_Test.txt, line 536: Invalid function call or expression '}' (in production 'postfix_expr2')
}
^
Script error: data/chars/aerisetta/aerisetta_Test.txt, line 1856: Unknown error '' (in production 'opt_else')
^
Script error: data/chars/aerisetta/aerisetta_Test.txt, line 1856: Unknown error '' (in production 'stmt_list')
^
Script compile error in 'Aerisetta_Test': data line 535, column 14
********** An Error Occurred **********
* Shutting Down *
Please advise if this is how it can be used and what I'm doing wrong.