FacesOfMu Member Feb 9, 2019 #1 Trying to find out what problems arise in the following scenario: Object1 Object2.pointing = Object1 instance_destroy(Object1) So what is in Object2.pointing now?
Trying to find out what problems arise in the following scenario: Object1 Object2.pointing = Object1 instance_destroy(Object1) So what is in Object2.pointing now?
CoolGiraffe1 Member Feb 9, 2019 #2 You could answer that yourself by running debug and seeing for yourself. Object2 "pointing" variable still has the id of Object1, even if it doesn't exist anymore - an id is just a number.
You could answer that yourself by running debug and seeing for yourself. Object2 "pointing" variable still has the id of Object1, even if it doesn't exist anymore - an id is just a number.