• Hey! Register here to create your account, engage with the community, and talk about what is new!

Make mob change weapon

NineOfGaming

Active member
Overlord
Joined
Jul 12, 2021
Messages
51
Reaction score
5
how do i make a mob use a bow if its further away from a player and use a sword if its near a player
 
Solution
In a loop Select All Players then Filter Select By Distance and put the Mob's location as the Location parameter
1630672047584.png
And then use Set Variable: Set To Distance and this will return a number, then you can check if the number is bigger or smaller than the distance you want
1630672161515.png

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,252
Reaction score
350
In a loop Select All Players then Filter Select By Distance and put the Mob's location as the Location parameter
1630672047584.png
And then use Set Variable: Set To Distance and this will return a number, then you can check if the number is bigger or smaller than the distance you want
1630672161515.png
 
Solution
Top Bottom