Started by
guardtown4
on
Topic category: Troubleshooting, bugs, and solutions
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.
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.
same...
ressurecting this cause same issue