Forum

> > CS2D > Scripts > skin doesn't move when player attacks
Forums overviewCS2D overview Scripts overviewLog in to reply

English skin doesn't move when player attacks

2 replies
To the start Previous 1 Next To the start

old skin doesn't move when player attacks

khaled1968
User Off Offline

Quote
Hello!

So... I was making zombie script and I added some skins, but I noticed that when zombies attack, their skin remain frozen and it movement doesn't match the movement of the zombie's hands...

Any solutions...?

note: i don't mean that skins remain frozen in its x and y position and doesn't follow the player! i mean they just don't move when that zombie attacks, and I want it to move so that it looks realistic.

old Re: skin doesn't move when player attacks

Mami Tomoe
User Off Offline

Quote
cs2d lua cmd image
CS2D.com has written
1
2
3
4
5
6
7
x<=0 - do not rotate image with player

x=1 - rotate image with player

x=2 - rotate and wiggle image with player

x=3 - rotate and wiggle image with player and move correctly with recoil


Use the third option.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview