Create Hiding Spots

Hi everybody, i just started working with GS and i was wondering if anyone can help me, i am working on a stealth game and i want to have certain parts of my level act as hiding spots. My guess is it would have to be some kind of custom collider but I am not sure how to achieve that, any help at all will be appreciated

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Make an actor invisible. Place it on screen, when player overlaps or collides with this actor it makes it's sel.color.alpha to zero and otherwise alpha back to 1. It also triggers a Boolean stealth to true. When stealth true enemies and other stuff cannot see or harm it. Now use copies of this invisible actor on top of any or object or place you require for stealth. This allows you to use your own size of collision boxes for each hiding object.
  • Oleg32sOleg32s Member Posts: 10
    awesome! thank you
Sign In or Register to comment.