self

  1. Erik Leppen

    GMS 2.3+ How to use methods? What's "self" in methods? How to get the method's "parent instance" from within the method?

    I'm trying to wrap my head around the new 2.3 functionalities and end up getting errors I have no clue about. Can someone please tell me how to actually use these new functions in order to gain any advantage over the old way of doing things? What i want to do is couple any scripts that "belong"...
  2. N

    Legacy GM With but not self.

    Hi, this doesn't work: with (obj_projectile(not self)) instance_destroy(); Can someone please give advise?? Thank you!
  3. Zhanghua

    GML The deprecated "self"

    I want to transfer the Parent instance to Child, so if self is discarded, what should I use for this function? Note: The Parent and Child is not the object-setting but the Logical relation.
Top