by makslane » Mon May 29, 2006 5:44 pm
Create a variable (actor, integer) ammo_count
In the Create Actor event, set the value:
ammo_count = 10; //for example
To create the bullets, just do:
if(ammo_count > 0)
{
//Create the bullets here
ammo_count--;
}