Addressing Other Instances' Variables [GameMaker Studio 2]

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ • 6

  • @Sly14000
    @Sly14000 4 роки тому +7

    You have a very pleasant voice to listen to.

  • @specialx9856
    @specialx9856 5 років тому +4

    another amazing video...like.

  • @erikstarling9915
    @erikstarling9915 Рік тому +1

    Thanks!

  • @joandersonoliveira6802
    @joandersonoliveira6802 2 роки тому

    i have i time source that will run for an undefined period of time, so i cant set when to destroy it inside its code. the thing is, i will create an object that will call that time source and i wanted when that object dies, the time source would die too. to use the instance destroy, i need the id and i cant get the time source id from the other object. any ideia?

    • @ParodyKnaveBob
      @ParodyKnaveBob Рік тому

      Why can't you get the time source id from the other object? When you created the time source, you stored its id in a variable for the instance running it, right?