GML Visual Multiple Instances

D

Dana Warner

Guest
My code is working as planned for the first enemy I place in the room, but the code isn't affecting additional instances?
 

samspade

Member
My code is working as planned for the first enemy I place in the room, but the code isn't affecting additional instances?
This is a very hard question to answer with such little information. Generally, you should add a little bit more description (e.g. what is the code supposed to do) and code (post the actual code) where appropriate (which it is with this question).
 
While what samspade said is very true, I would imagine you're referencing the object not the instance. Don't use obj_enemy_name.whatever to reference anything.
 
Top