What i must write to damage enemy actor.
(shot collizion to enemy actor - 1 health)
limited the ammo and ammo package.
Help
tekdino wrote:In script editor
if (health <= 0)
{
DestroyActor("youractor");
}
ammo += 10
if (ammo >= 1)
{
the shoot event
}
if (ammo <= 0)
{
ammo = 0;
}
CreateActor("shot actor", "shot animation", "no parent", "no path", 0, 0, false);
Users browsing this forum: No registered users and 1 guest