Quantcast
Channel: MythicCraft
Viewing all articles
Browse latest Browse all 11417

Return of spawn coordinates

$
0
0
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

Viewing all articles
Browse latest Browse all 11417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>