how do i make a sentry turret that shoots projectile at players.

Started by thatdudepeter on

Topic category: Help with modding (Java Edition)

Last seen on 12:38, 13. Aug 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make a sentry turret that shoots projectile at players.

i have been trying to make a sentry turret that sits still looks at the player always and shoots at nearby players, kinda like an automatic robot mini gun, but idk everything i try doesnt work right, the bullets dont go straight, and everytime it shoots it faces 90 degrees away from the player and shoots very inaccurately i jt want someone who could help me make it right. thx

Last seen on 13:46, 7. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a projectile and set…
Fri, 07/26/2024 - 16:56

make a projectile and set the required item to void air, then make an entity (the sentry turret) without ai and two procedures:

https://imgur.com/Z3ds9O2 (in the triggers tab of the entity set this procedure to the trigger "on entity tick update")

https://imgur.com/Dvu04KY (in the triggers tab of the projectile set this procedure to the triggers "when projectile hits living entity" and "when projectile hits block")

Last seen on 12:38, 13. Aug 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you soooo much! i…
Fri, 07/26/2024 - 18:21

thank you soooo much! i wanna have nicey time with you, you dont know how much fast replies mean to me

 

Last seen on 13:46, 7. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome
Fri, 07/26/2024 - 18:48

You're welcome

Last seen on 12:38, 13. Aug 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey is there any way i can…
Fri, 07/26/2024 - 21:32

hey is there any way i can contact you? maybe discord. the rotation still doesnt work well, idk if it is a problem with my model or jt mcreator, thx

Last seen on 13:46, 7. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my discord username is bo…
Sat, 07/27/2024 - 00:26

my discord username is bo_bo590