Gizmo199
Member
So I am having a hard time getting individual instance ID's from sequences. The function layer_sequence_get_objects() only returns object indexes and not the instance ID's from the objects being created in the sequence. I need to have individual ID's so I will be able to use 1 animation for multiple different NPC's / Players. So an example would be having an "obj_arm" object in a sequence that moves. The enemies and player can create the same animation and get the x/y/angle from the "obj_arm" in that specific sequence. Right now since layer_sequence_get_objects() only references object indexes and not Instance ID's the player and the enemy will play the same animation on the same frames ( since they reference the same object index).
Does anyone have any ideas or thoughts around this dilemma?
NVM solved. Had to override the instances with newly created instances.
Does anyone have any ideas or thoughts around this dilemma?
NVM solved. Had to override the instances with newly created instances.
Last edited: