G
GerPronouncedGrr
Guest
As the title says, I'm wondering if GMS provides a method to return the calling instance of a script. For example, say I have 2 players, and each uses the same generic HP control script. For any call to that script, how can I find out which player object initiated that call?
BTW, I'm currently using GMS2, but asking here because I can't find the answer in the documentation for either version, so I don't want to clutter up the GMS2 beta forum needlessly. I am happy to have this thread moved if it belongs in the beta forum instead.
BTW, I'm currently using GMS2, but asking here because I can't find the answer in the documentation for either version, so I don't want to clutter up the GMS2 beta forum needlessly. I am happy to have this thread moved if it belongs in the beta forum instead.