Page 1 of 1

AMMO

PostPosted: Sat Jan 27, 2007 3:41 am
by harleyb12
i need to know how to make ammo for an smg. ive tried alot but i cant get it to work. no noob posts

PostPosted: Sat Jan 27, 2007 7:49 pm
by Game A Gogo
Create a text actor, enter the initial amount of bullets in, and then on the bullet actor, do this:
Code: Select all
if(Bullet_Count.textNumber>0)
{
       xvelocity=2;
       //Set the speed that you want
}
else if(Bullet_Count<=0)
{
       DestroyActoy("EventActor");
       //This may not work, use the Variable/Function button and choose destroy actor
}