FeetUpGaming
Member
Hey all, so i've been trying to figure this out for a while, using the forums google etc to find resources or documentation about it, but can't find anything. I have a sequence which plays as a cutscene and uses sprites. The sequence gets paused to wait for player input but this also pauses sprite animation so my thought was to try and find the sprite instance/element and update the image_index manually but i just can't seem to find where to do this. I have looked in the sequence.tracks struct array but after getting the track struct and running variable_struct_get_names() it's not a struct and gives an empty value. I'm starting to wonder if this is even possible. Any help would be great as the documentation on sequence structs are very contradicting.
Currently I have
Any help is greatly appreciated. Thanks!
Currently I have
_struct = layer_sequence_get_sequence(elementID)
. Then using that i get the track array with _arr = _struct.tracks
. Finally trying to get the struct variable names with variable_struct_get_names(_arr)
but comes up empty. show_debug_message(_arr)
show what i'd expect with an array of structs but can't seem to get deeper into it to find any image_index variable.Any help is greatly appreciated. Thanks!
Last edited: