Can anyone tell me any of these things???
-How to make enemies know when to attack and defend
-How to create a health bar that shrinks determined by damage
-How to give enemy gravity(so when they have a path they do not float)
yvelocity = yvelocity - .5;
Zehper48 wrote:to give an enemy gravity you must go to draw actor and script editor and type
- Code: Select all
yvelocity = yvelocity - .5;
yvelocity-=.5;
is(animpos>(nframes-1))
{
DestroyActor("player")
}
health.animpos-=1;
Users browsing this forum: No registered users and 1 guest