Overriding motion vector doesn't work on player if triggered from an entity

Started by guardtown4 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 23:06, 26. Jul 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overriding motion vector doesn't work on player if triggered from an entity

I believe I found a bug. I made an entity which has a special ability that pulls the player toward them, however it doesn't work at all: https://imgur.com/ZSEtC9U

I tried moving the override motion block to the top of the code (outside of all the if statements) and also adding a print message for the player my entity was targeting; which confirmed that the entity was targeting the player. It seems that doing override motion vector on a player with a procedure triggered from an entity just doesn't work. The procedure is called every tick my custom entity is alive.

 

Last seen on 23:06, 26. Jul 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I tried some other…
Thu, 06/30/2022 - 18:54

Update: I tried some other fixes and none of them worked either.. Such as making the override motion vector happen on the server-side (with the wait X ticks then on server-side do block), making a global variable for the player and the player has an on each tick procedure that does the override motion vector block when that global variable is set to true, and then after that just making a global variable for the map itself.

When I used a global variable, it just plain didn't change in the procedure that is called by my entity each tick.

This issue is super bizarre and I have no clue how I would work around it.

Last seen on 19:27, 6. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
same...  
Mon, 07/04/2022 - 10:15

same...

 

Last seen on 17:07, 24. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ressurecting this cause same…
Sat, 07/09/2022 - 03:02

ressurecting this cause same issue