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

Entity Move

Discussion in 'Help' started by WoolChannel3295, May 15, 2021.

  1. WoolChannel3295

    WoolChannel3295 Silverfish

    Messages:
    22
    GitHub:
    KietTran0308
    hey, i need help. How to make a zombie and when the player gets close, the zombie moves and hits the player by code ?
     
    Last edited: May 15, 2021
  2. HeyDeniis_

    HeyDeniis_ Baby Zombie

    Messages:
    137
    try to observe how it works in TeaSpoon (github) that it has functions to move and attack ...
     
  3. WoolChannel3295

    WoolChannel3295 Silverfish

    Messages:
    22
    GitHub:
    KietTran0308
    hmm, but can you give me an example ?
     
  4. Primus

    Primus Zombie Pigman

    Messages:
    749
    Example on how to look at the code?
     
  5. WoolChannel3295

    WoolChannel3295 Silverfish

    Messages:
    22
    GitHub:
    KietTran0308
    code example "entity attack and run"
     
  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.