Display text actor tag when collide

ChaserChaser Member Posts: 1,453
edited November -1 in Working with GS (Mac)
trying to make an actor display the text tag of another actor that it collides with until it hits another actor then displays the text tag of that actor. I was able to do it when clicking the screen but disappeared instantly

Comments

  • ChaserChaser Member Posts: 1,453
    anybody??
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you'd probably need to create rules on both actors using a few attributes:

    create an attribute like ActorName

    main actor
    when overlaps or collides with actor of tag 'small actor'
    displaytext game.ActorName

    smallActor
    when overlaps or collides with actor of type 'main actor'
    change attribute game.ActorName to self.TextTag (or what ever the tag is)

    that should work I would think, I'm doing this from memory though, so exact terminology might be off.
Sign In or Register to comment.