1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Signs

Discussion in 'Development' started by LucGamesDE, May 19, 2017.

  1. LucGamesDE

    LucGamesDE Baby Zombie

    Messages:
    170
    How can I boost a player away from a sign?
     
  2. Lowkey

    Lowkey Slime

    Messages:
    94
    Without interactevent?
    Use PlayerMoveEvent and knockback().
     
  3. LucGamesDE

    LucGamesDE Baby Zombie

    Messages:
    170
    I know how to knockback a player normally. But I want to boost him away from the sign. I have the position of the sign
     
  4. Lowkey

    Lowkey Slime

    Messages:
    94
    Use PlayerMoveEvent and check if they're near the sign...
     
  5. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    It's a bit lengthy, but if you can understand it, here's an example.
     
    jasonwynn10 likes this.
  6. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    wouldnt using task be better performance wise?
    or would it be same/worst
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.