Jump to content

Skirpt entity movement speed.


Pancake123
 Share

Recommended Posts

I don't have any addons. I have tried looking it up. I am having trouble changing the walk speed of a non-player. I want to increase the walk speed of a zombie but it does not work. After googling I learned that walk speed is only applicable to players. How would I change the movement speed of a non-player entity?

Link to comment
Share on other sites

3 hours ago, Pancake123 said:

I don't have any addons. I have tried looking it up. I am having trouble changing the walk speed of a non-player. I want to increase the walk speed of a zombie but it does not work. After googling I learned that walk speed is only applicable to players. How would I change the movement speed of a non-player entity?

If it says you cant change the walkspeed of an entity besides a player, then you cant.

Unless you give them the speed effect using something like

execute console command "effect give %player% (effect) (time) (power)"

 

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

21 hours ago, ES63 said:

If it says you cant change the walkspeed of an entity besides a player, then you cant.

Unless you give them the speed effect using something like

execute console command "effect give %player% (effect) (time) (power)"

 

I never said you cant change the walk speed of an entity besides a player. It says that no where. You cant do it with the walkspeed effect. I assume there is another way besides just giving them a potion effect. Im wondering what that way is.

Link to comment
Share on other sites

57 minutes ago, Pancake123 said:

I never said you cant change the walk speed of an entity besides a player. It says that no where. You cant do it with the walkspeed effect. I assume there is another way besides just giving them a potion effect. Im wondering what that way is.

execute console command "effect give @e[type=(mob of your choice)] (effect) (time) (power)"

 

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

19 hours ago, ES63 said:
execute console command "effect give @e[type=(mob of your choice)] (effect) (time) (power)"

 

that just wont work. That will make every mob with that type have the effect. Using %victim% wont work and @ename= wont work either because the name of the mob im using is 2 words.

Link to comment
Share on other sites

1 hour ago, Pancake123 said:

that just wont work. That will make every mob with that type have the effect. Using %victim% wont work and @ename= wont work either because the name of the mob im using is 2 words.

#if you want a victim to be a certain mob do

if victim is (mob):

 

Edited by ES63

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

On 11/30/2022 at 2:22 PM, Pancake123 said:

Using %victim% wont work

you said using %victim% wouldnt work so i thought maybe you wanted that

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...