Hello,
I am creating mob and I want him to return to his spawn possition when he lost sight on player.
Conditions:
- targetinlineofsight false
Thats easy just create skill which will define mob coordinates ~onSpawn thanks to the <mob.l.x><mob.l.y><mob.l.z>, but where can I save these numbers? Because when mobs is spawn on [1,64,1] and then he would move on [50,64,50] where from he will take these numbers => [1,64,1]? Is there any kinda skill or something like that to save any value?...
Return of spawn coordinates
I am creating mob and I want him to return to his spawn possition when he lost sight on player.
Conditions:
- targetinlineofsight false
Thats easy just create skill which will define mob coordinates ~onSpawn thanks to the <mob.l.x><mob.l.y><mob.l.z>, but where can I save these numbers? Because when mobs is spawn on [1,64,1] and then he would move on [50,64,50] where from he will take these numbers => [1,64,1]? Is there any kinda skill or something like that to save any value?...
Return of spawn coordinates