I seem to just be getting this error upon trying this:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_player:
DoConv :1: illegal undefined/null use
at gml_Script_psm_melee (line 19) - skelani_set_animation(atkanimation,global.skelani_animation_length[argument0]*(statecntr-atkwarmup)/atkduration)
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_psm_melee (line 19)
called from - gml_Object_obj_player_Step_0 (line 81) - script_execute(state)